日志控制
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { _decorator } from "cc";
|
||||
import { logger } from "db://assets/Scripts/Main/Common/Logger";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -85,7 +86,7 @@ export default class li_EventManager {
|
||||
try {
|
||||
handler[0].apply(handler[1], param);
|
||||
} catch (e) {
|
||||
console.error("innerErr:" + e.stack);
|
||||
logger.error("innerErr:" + e.stack);
|
||||
}
|
||||
}
|
||||
if (handlerArray.length != length) {
|
||||
|
||||
Reference in New Issue
Block a user