mag-format-message

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i mag-format-message

Weekly Downloads

9

Version

0.1.1

License

MIT

Last publish

Collaborators

  • mahnunchik