egg-cute-logger
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

egg-cute-logger

NPM version build status Test coverage David deps Known Vulnerabilities npm download

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.

License

MIT

Package Sidebar

Install

npm i egg-cute-logger

Weekly Downloads

0

Version

1.4.0

License

MIT

Unpacked Size

9.9 kB

Total Files

12

Last publish

Collaborators

  • wadecha