log to debug not error

This commit is contained in:
AdrianLxM 2017-10-15 23:21:55 +02:00 committed by GitHub
parent 2a8ab96fe3
commit dbc5657003

View file

@ -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]);
}
};
};