gluestick-plugin-bunyan

4.6.6 • Public • Published

gluestick-plugin-bunyan

This plugin allows you to use bunyan as a logger.

How to use

  • Install plugin
npm install --save gluestick-plugin-bunyan
  • Define plugin in src/gluestick.plugins.js:
export default ['gluestick-plugin-bunyan'];
  • Add file in src/ folder called bunyan.config.js and add configuration in it
export default {
   name: <string>,  // Required
   level: <level name or number>,
   stream: <node.js stream>,
   streams: [<bunyan streams>, ...],
   serializers: <serializers mapping>,
   src: <boolean>,
};

Here you can read more about options.

Readme

Keywords

none

Package Sidebar

Install

npm i gluestick-plugin-bunyan

Weekly Downloads

5

Version

4.6.6

License

MIT

Unpacked Size

154 kB

Total Files

5

Last publish

Collaborators

  • cybrass
  • ferrannp
  • mike866
  • supergibbs
  • toddsurfs
  • zamotany