mag-colored-output
v1.0.1
Published
Transform stream that makes collored message from log object
Downloads
3,415
Maintainers
Readme
mag-colored-output
Mag is the streaming logger for NodeJS
mag-colored-output
is transform stream that makes collored message from log object.
Installation
It makes sense to use mag-colored-output
with mag-hub
and for example mag-format-message
.
$ npm install mag-colored-output mag-format-message mag-hub --save
Usage
var hub = require('mag-hub');
var format = require('mag-format-message');
var colored = require('mag-colored-output');
hub.pipe(format())
.pipe(colored())
.pipe(process.stdout);
Note
mag-colored-output
version 1.0.0 and greater compatible with mag version greater than 0.9.0