Skip to content

Commit

Permalink
Fixed; allow for falsy values as the configuration value of `log leve…
Browse files Browse the repository at this point in the history
…l` (fixes #491).
  • Loading branch information
rauchg committed Sep 3, 2011
1 parent 20ddd5f commit fa1f50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Manager.prototype.__defineGetter__('log', function () {
if (this.disabled('log')) return;

var logger = this.get('logger');
logger.level = this.get('log level');
logger.level = this.get('log level') || -1;

return logger;
});
Expand Down

0 comments on commit fa1f50d

Please sign in to comment.