example: remove console.info() log usage

Annoying since the Web Inspector will add an exclamation point
with a blue circle around it to any debug() calls when `info()`
is used.
This commit is contained in:
Nathan Rajlich 2014-07-15 15:42:11 -07:00
parent 09e31bb47a
commit 4c8e3d3e5e

View File

@ -11,10 +11,6 @@
var a = debug('worker:a');
var b = debug('worker:b');
// set all output to go via console.info
// instead of console.log
debug.log = console.info.bind(console);
setInterval(function(){
a('doing some work');
}, 1000);