Skip to content

Commit

Permalink
get back lost argument in debug logger
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdarkdragon committed Oct 7, 2015
1 parent edb31a0 commit f516298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/log.js
Expand Up @@ -55,7 +55,7 @@ Log.makeLevel = function(level) {
return function() {
const args = Array.prototype.slice.apply(arguments);
args[0] = this._prefix + args[0];
Log.engine.logObject.apply(Log, [level].concat(args[0], [args.slice(2)]));
Log.engine.logObject.apply(Log, [level].concat(args[0], [args.slice(1)]));
};
};

Expand Down

0 comments on commit f516298

Please sign in to comment.