bunyan-babe

0.1.0 • Public • Published

bunyan-babe

Author: Eugene Song tilleps@gmail.com

Companion to bunyan logger, bunyan-babe adds the ability to filter what is going to be logged with bunyan. By default, bunyan-babe is disabled and outputs to console.log.

Usage

Log everything

BUNYAN=* node index.js

Log anything that starts with admin or user

var logger = require('bunyan-babe')()({ name: "admin" });
BUNYAN=admin*,user* node index.js

Package Sidebar

Install

npm i bunyan-babe

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • tilleps