Skip to content

Commit

Permalink
Fix bug: use type to construct log string
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Jul 20, 2012
1 parent 0638da7 commit dee8857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger.js
Expand Up @@ -20,7 +20,7 @@ Logger.prototype = {
if (!type) {
type = 'DEBUG: ';
}
this.util.log(DEBUG + msg);
this.util.log(type + msg);
} else {
if (!type) {
type = this.level
Expand Down

0 comments on commit dee8857

Please sign in to comment.