bunyan-pretty

0.0.1 • Public • Published

bunyan-pretty

James Wyse's workaround for getting pretty-printed bunyan output in Node. See https://github.com/trentm/node-bunyan/issues/13 for details.

You could use it like this:

var bunyanPretty = require('bunyan-pretty');
bunyan.createLogger({
  name: 'audit',
  stream: process.stdout.isTTY ? bunyanPretty() : process.stdout,
  level: 'info'
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    177
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    177

Package Sidebar

Install

npm i bunyan-pretty

Weekly Downloads

177

Version

0.0.1

License

ISC

Last publish

Collaborators

  • mirkok