12 lines
239 B
JavaScript
12 lines
239 B
JavaScript
|
var wrapLazyEval = require('./src/lazy-eval'),
|
||
|
wrapLazy = require('./src/lazy-debug');
|
||
|
|
||
|
module.exports = function (debug) {
|
||
|
debug = debug ? debug : require('debug')
|
||
|
|
||
|
debug = wrapLazyEval(debug);
|
||
|
wrapLazy(debug);
|
||
|
|
||
|
return debug;
|
||
|
}
|