Permalink
Browse files

Tweak log formating to append colon and space to stdout type.

  • Loading branch information...
1 parent 3620a3a commit 246fdaece68ae60c6f25fa59f27d9c4183371b9b @draco2003 committed Oct 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/logger.js
View
@@ -18,9 +18,9 @@ Logger.prototype = {
log: function (msg, type) {
if (this.backend == 'stdout') {
if (!type) {
- type = 'DEBUG: ';
+ type = 'DEBUG';
}
- this.util.log(type + msg);
+ this.util.log(type + ": " + msg);
} else {
if (!type) {
type = this.level

0 comments on commit 246fdae

Please sign in to comment.