mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
get back lost argument in debug logger
This commit is contained in:
@@ -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)]));
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user