Skip to content

Commit 4c8e3d3

Browse files
committed
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.
1 parent 09e31bb commit 4c8e3d3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

example/browser.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
var a = debug('worker:a');
1212
var b = debug('worker:b');
1313

14-
// set all output to go via console.info
15-
// instead of console.log
16-
debug.log = console.info.bind(console);
17-
1814
setInterval(function(){
1915
a('doing some work');
2016
}, 1000);

0 commit comments

Comments
 (0)