log-output-node

Node.js adapter for `log-output`.

Usage no npm install needed!

<script type="module">
  import logOutputNode from 'https://cdn.skypack.dev/log-output-node';
</script>

README

log-output-node Build Status

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