Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #180 from draco2003/logging_tweak

Tweak logging to add space and colon between type and msg
  • Loading branch information...
commit c14e21b827bb6b5220269c71ca550426dfbaa0d1 2 parents 8f41c13 + 34c4389
@mrtazz mrtazz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/logger.js
View
4 lib/logger.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.