easy-bunyan
v0.1.0
Published
The quick and easy way to get good logging.
Downloads
2
Readme
Easy Bunyan
The quick and easy way to get good logging.
Installation
npm install easy-bunyan
Usage
const eb = require('easy-bunyan');
\\pulls in easy Bunyan
eb.init("App Name", '1w', 3, 'long');
\\initializes the logger with App Name,
\\Period for rotating logs,
\\count of rotations
\\and logging format.
const log = eb.log;
Notes
Please refer to Bunyan-Format for more information on Log Formatting options.