mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 12:25:51 +00:00
移除 Logger 类中 process 方法的调试输出,使用注释替代
This commit is contained in:
@@ -148,7 +148,7 @@ class Logger {
|
||||
process(plugin, origin, type, message, inFile = false) {
|
||||
// [DEBUG] 强制输出以确认方法被调用 (使用 error 级别防止被过滤)
|
||||
// 【核心修改】:使用 safeConsole 替代全局 console
|
||||
this.safeConsole.error('[Logger DEBUG] Process called:', { plugin, origin, type, message });
|
||||
// this.safeConsole.error('[Logger DEBUG] Process called:', { plugin, origin, type, message });
|
||||
|
||||
// 1. 默认归属处理
|
||||
const safePlugin = plugin || 'Global';
|
||||
|
||||
Reference in New Issue
Block a user