Permalink
Browse files

Merge pull request #180 from draco2003/logging_tweak

Tweak logging to add space and colon between type and msg
  • Loading branch information...
2 parents 8f41c13 + 34c4389 commit c14e21b827bb6b5220269c71ca550426dfbaa0d1 @mrtazz mrtazz committed Oct 27, 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 c14e21b

Please sign in to comment.