mag-colored-output

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i mag-colored-output

Weekly Downloads

8

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mahnunchik