bunyan-pretty
v0.0.1
Published
hack that creates a pretty-printed bunyan output stream
Downloads
1,500
Readme
#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'
})