bunyan-babe
v0.1.0
Published
A filter supported bunyan logger
Downloads
9
Maintainers
Readme
bunyan-babe
Author: Eugene Song [email protected]
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.js