0.1.0 • Published 9 years ago
bunyan-babe v0.1.0
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.jsLog anything that starts with admin or user
var logger = require('bunyan-babe')()({ name: "admin" });BUNYAN=admin*,user* node index.js0.1.0
9 years ago