1.0.1 • Published 8 years ago

mag-colored-output v1.0.1

Weekly downloads
10
License
MIT
Repository
github
Last release
8 years ago

mag-colored-output Build Status Dependency Status

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

License

MIT