REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 817 B
Close
/home/byroehnu/.trash/node_modules11/flutterwave-node-v3/utils/logger.js
Text
Base64
const axios = require('axios'); const packageJson = require('../package.json'); const { createLogger, format, transports } = require('winston'); const { combine, timestamp, colorize, errors, printf, json } = format; // function logger(name, _rave) { // axios.post( // 'https://kgelfdz7mf.execute-api.us-east-1.amazonaws.com/staging/sendevent', // { // publicKey: _rave.getPublicKey(), // language: 'NodeJs v3', // version: packageJson.version, // title: 'Incoming call', // message: name, // }, // ); // } const errorLogger = createLogger({ transports: [ new transports.Console({ format: combine( errors({ stack: true, }), timestamp(), json(), ), }), ], }); module.exports = { errorLog: errorLogger };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
build.js
1.29 KB
lrw-r--r--
2026-02-21 00:53:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
error.js
436 B
lrw-r--r--
2026-02-21 00:53:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
logger.js
817 B
lrw-r--r--
2026-02-21 00:53:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rave.utils.js
350 B
lrw-r--r--
2026-02-21 00:54:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
validator.js
316 B
lrw-r--r--
2026-02-21 00:54:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).