node-bunyan-stream
Stream data into a bunyan logger. Allows fine grained control over what is logged from a stream.
Installation
$ npm install bunyan-stream
Usage
const bunyanStream = const httpNdjson = const bunyan = const logger = bunyan http
API
bunyanStream
Create a new bunyan writestream (instanceof through2
). opts
can
contain the following values:
- level: the log level. One of
debug
,info
,warn
,error