bunyan-wrapper

Convenience wrapper around bunyan/-prettystream

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bunyan-wrapper
1.0.04 years ago4 years agoMinified + gzip package size for bunyan-wrapper in KB

Readme

bunyan-wrapper
Convenience wrapper around bunyan and bunyan-prettystream.

Usage

const log = require('bunyan-wrapper')('my-app');

log.error('...')
log.warn('...')
log.info('...')
log.debug('...')
log.trace('...')

Reads the LOGLEVEL environment variable to set the desired log level.