We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
log()
1 parent 00d5bdf commit 592429fCopy full SHA for 592429f
1 file changed
debug.js
@@ -113,7 +113,7 @@ function debug(namespace) {
113
if ('function' === typeof exports.formatArgs) {
114
args = exports.formatArgs.apply(self, args);
115
}
116
- var logFn = exports.log || enabled.log || console.log.bind(console);
+ var logFn = enabled.log || exports.log || console.log.bind(console);
117
logFn.apply(self, args);
118
119
enabled.enabled = true;
0 commit comments