Node.js adapter for
log-output
.
This is the default writable stream adapter for log-output
.
$ npm install log-output-node --save
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
MIT © Rafael Rinaldi