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'
})

Readme

Keywords

none

Package Sidebar

Install

npm i bunyan-pretty

Weekly Downloads

243

Version

0.0.1

License

ISC

Last publish

Collaborators

  • mirkok