bunyan-wrapper

1.0.0 • Public • Published

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 LOG_LEVEL environment variable to set the desired log level.

Readme

Keywords

none

Package Sidebar

Install

npm i bunyan-wrapper

Weekly Downloads

194

Version

1.0.0

License

ISC

Unpacked Size

1.86 kB

Total Files

4

Last publish

Collaborators

  • christoph.gysin