log-output-node
v1.0.1
Published
Node.js adapter for `log-output`.
Downloads
2
Maintainers
Readme
log-output-node
Node.js adapter for
log-output
.
This is the default writable stream adapter for log-output
.
Install
$ npm install log-output-node --save
Usage
var logOutput = require('log-output');
var nodeAdapter= require('log-output-node');
logOutput.adapter(nodeAdapter());
// If you want to log to `stderr` uncomment the line below
// logOutput.adapter(nodeAdapter(process.stderr));
logOutput('yay'); // yay
License
MIT © Rafael Rinaldi