diff --git a/dist/debug.js b/dist/debug.js index 6392a59..e606123 100644 --- a/dist/debug.js +++ b/dist/debug.js @@ -263,7 +263,7 @@ function debug(namespace) { if ('function' === typeof exports.formatArgs) { args = exports.formatArgs.apply(self, args); } - var logFn = exports.log || enabled.log || console.log.bind(console); + var logFn = enabled.log || exports.log || console.log.bind(console); logFn.apply(self, args); } enabled.enabled = true;