We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 592429f commit 6fd34acCopy full SHA for 6fd34ac
dist/debug.js
@@ -263,7 +263,7 @@ function debug(namespace) {
263
if ('function' === typeof exports.formatArgs) {
264
args = exports.formatArgs.apply(self, args);
265
}
266
- var logFn = exports.log || enabled.log || console.log.bind(console);
+ var logFn = enabled.log || exports.log || console.log.bind(console);
267
logFn.apply(self, args);
268
269
enabled.enabled = true;
0 commit comments