console-to-logger
v1.0.2
Published
A Browserify plugin which adds a custom console implementation to modules, to control and format their console.log() etc output
Downloads
4
Maintainers
Readme
console-to-logger
A Browserify plugin which adds a custom console implementation to modules, to control and format their console.log() etc output
Installation
npm install console-to-logger --save-dev
With default console replacement
npm install simple-logging-console --save
Usage
var b = browserify({...});
b.plugin('console-to-logger', {
'base': 'app/',
'console': 'simple-logging-console'
});