X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/cf3671d70608aa587dec9bc6a2a150d7779ed2b1..26b061b8b81f39ad11fbd9c6c761ec3e699dbad2:/lib/cobalt.js diff --git a/lib/cobalt.js b/lib/cobalt.js index e1f4bea..fa4f623 100644 --- a/lib/cobalt.js +++ b/lib/cobalt.js @@ -159,7 +159,7 @@ }, log : function () { - this._log.apply(this, [7].concat([].splice.call(arguments, 0))); + this._log.apply(this, [6].concat(Array.prototype.slice.call(arguments))); }, debug : function () { @@ -167,19 +167,19 @@ }, info : function () { - this._log.apply(this, [6].concat([].splice.call(arguments, 0))); + this._log.apply(this, [6].concat(Array.prototype.slice.call(arguments))); }, notice : function () { - this._log.apply(this, [5].concat([].splice.call(arguments, 0))); + this._log.apply(this, [5].concat(Array.prototype.slice.call(arguments))); }, warn : function () { - this._log.apply(this, [4].concat([].splice.call(arguments, 0))); + this._log.apply(this, [4].concat(Array.prototype.slice.call(arguments))); }, error : function () { - this._log.apply(this, [3].concat([].splice.call(arguments, 0))); + this._log.apply(this, [3].concat(Array.prototype.slice.call(arguments))); }, dir : function () {