mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Add debug log toggle and silence diagnostic logs
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// 同时叠加任务本地规则,并按任务阶段执行。
|
||||
|
||||
import { extension_settings, getContext } from "../../../extensions.js";
|
||||
import { debugDebug } from "./debug-logging.js";
|
||||
import { getHostAdapter } from "./host-adapter/index.js";
|
||||
import {
|
||||
getActiveTaskProfile,
|
||||
@@ -236,7 +237,7 @@ function getRegexHost() {
|
||||
};
|
||||
}
|
||||
} catch (error) {
|
||||
console.debug(
|
||||
debugDebug(
|
||||
"[ST-BME] task-regex 读取 regex bridge 失败,回退到 legacy 宿主接口",
|
||||
error,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user