log to debug not error
This commit is contained in:
parent
2a8ab96fe3
commit
dbc5657003
1 changed files with 2 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
|||
var console = { };
|
||||
console.error = function error(){
|
||||
console2.error(arguments.length);
|
||||
for (var i = 0, len = arguments.length; i < len; i++) {
|
||||
console2.error(arguments[i]);
|
||||
console2.log(arguments[i]);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -10,4 +9,4 @@ console.log = function log(){
|
|||
for (var i = 0, len = arguments.length; i < len; i++) {
|
||||
console2.log(arguments[i]);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue