simple-logging-console
v1.0.0
Published
console.log() etc replacement with timestamp, loglevel and module output
Downloads
2
Readme
simple-logging-console
console.log() etc replacement with timestamp, loglevel and module output
Installation
npm install simple-logging-console --save
Usage
var console = require('simple-logging-console')(module.id);
console.log('A Test'); //: 2016-02-19T21:45:58.302Z [DEBUG] index.js - A Test
console.info('An event'); //: 2016-02-19T21:45:58.502Z [INFO] index.js - An event