refactor: 移除调试日志并统一使用日志工具
- 删除多个文件中的 console.log/console.warn/console.error 调试输出 - 将日志输出统一替换为 mLogger 工具,支持调试模式控制 - 清理注释掉的调试代码和空方法体
This commit is contained in:
@@ -58,7 +58,7 @@ export class MissionMonCompComp extends CCComp {
|
||||
*/
|
||||
private onSpawnSpecialMonster(event: string, args: any) {
|
||||
if (!args) return;
|
||||
console.log(`[MissionMonComp] 收到特殊刷怪指令:`, args);
|
||||
mLogger.log(this.debugMode, 'MissionMonComp', `[MissionMonComp] 收到特殊刷怪指令:`, args);
|
||||
|
||||
// 插入队列
|
||||
this.MonQueue.push({
|
||||
|
||||
Reference in New Issue
Block a user