egg-cute-logger
v1.4.0
Published
Support Egg Logger multiple transports (redis, amqp)
Downloads
4
Maintainers
Readme
egg-cute-logger
Install
$ npm i egg-cute-logger --save
Usage
// {app_root}/config/plugin.js
exports.cuteLogger = {
enable: true,
package: 'egg-cute-logger',
};
Configuration
// {app_root}/config/config.default.js
exports.cuteLogger = {
transports: ['redis'],
channel: 'log',
ex: 'cute.logs',
topic: 'cute.serve.log',
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.