Skip to content

mahnunchik/mag-format-message

Repository files navigation

mag-format-message Build Status

Mag is the streaming logger for NodeJS

mag-format-message is transform stream that makes formatted message from arguments by util.format function.

Installation

It makes sense to use mag-format-message with mag-hub.

$ npm install mag-format-message mag-hub --save

Usage

var hub = require('mag-hub');
var fromat = require('mag-format-message');
hub.pipe(format())
  .pipe(/* anything else */)
  .pipe(process.stdout);

License

MIT

About

Transform stream that formats message from arguments

Resources

License

Stars

Watchers

Forks

Packages

No packages published