0.1.0 • Published 6 years ago

easy-bunyan v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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.