Permalink
Browse files

Tweak logging to add space and colon between type and msg

  • Loading branch information...
1 parent dd21c20 commit 34c43896fa91a3b4d90632d380a0d985ba7f8744 @draco2003 draco2003 committed Oct 22, 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 34c4389

Please sign in to comment.