Browse Source

Merge branch 'master' into soon

master
ansuz 10 months ago
parent
commit
0e09c73a60
1 changed files with 3 additions and 1 deletions
  1. 4
      lib/log.js

4
lib/log.js

@ -96,7 +96,9 @@ Logger.create = function (config, cb) {
if (!config.logPath) {
console.log("No logPath configured. Logging to file disabled");
return void cb(Object.freeze(createMethods(ctx)));
var logger = createMethods(ctx);
logger.shutdown = noop;
return void cb(Object.freeze(logger));
}
Store.create({

Loading…
Cancel
Save