mag-format-message
v0.1.1
Published
Transform stream that makes formatted message from arguments
Downloads
3,450
Maintainers
Readme
mag-format-message
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