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