Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Lines in log file now end with a comma (#127)

  • Loading branch information...
commit 3f38d649926f1cf6c4463850e53b4df969612bac 1 parent 2908518
@dglol dglol authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 extension/lib/logger.js
View
5 extension/lib/logger.js
@@ -90,7 +90,7 @@ Logger.prototype.prepareFile = function Logger_prepareFile() {
this._file = file;
this._firstLog = true;
- this._writeAsync('[' + '\r\n');
+ this._writeAsync('[');
};
Logger.prototype.start = function Logger_start() {
@@ -139,10 +139,9 @@ Logger.prototype.log = function Logger_log(aType, aData, aCallback) {
this._firstLog = false;
}
else {
- message = ',' + message;
+ message = ',' + '\r\n' + message;
}
- message = message + '\r\n';
this._writeAsync(message, aCallback);
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.