console.log = (function(oldLogFunc) {
return function() {
//showDebuggerLog 全局配置项
if (showDebuggerLog) {
oldLogFunc.apply(this, arguments);
}
};
})(console.log);
console.log = (function(oldLogFunc) {
return function() {
//showDebuggerLog 全局配置项
if (showDebuggerLog) {
oldLogFunc.apply(this, arguments);
}
};
})(console.log);