调整日志级别

This commit is contained in:
liuwei
2026-01-16 13:34:37 +08:00
parent 79d174649b
commit c6a0679741
30 changed files with 42 additions and 40 deletions

View File

@@ -375,7 +375,7 @@ class XiuxianPlugin(MessagePluginInterface):
# 境界顺序(用于计算下一个境界)
realm_order = ["炼气", "筑基", "金丹", "元婴", "化神", "合体", "大乘", "渡劫", "真仙"]
self.LOG.info(f"开始解析境界配置,共{len(realms_cfg)}个境界")
self.LOG.debug(f"开始解析境界配置,共{len(realms_cfg)}个境界")
for realm_name, config_str in realms_cfg.items():
try:
# 解析配置:每层阈值,境界分值,突破丹药,丹药成功率,强行成功率,强行倍率
@@ -434,12 +434,12 @@ class XiuxianPlugin(MessagePluginInterface):
except Exception as e:
self.LOG.warning(f"解析境界配置失败: {realm_name}={config_str}, 错误: {e}")
self.LOG.info(f"境界配置解析完成:层级阈值{len(self.layer_threshold_map)}个,突破配置{len(self.break_config)}")
self.LOG.debug(f"境界配置解析完成:层级阈值{len(self.layer_threshold_map)}个,突破配置{len(self.break_config)}")
self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}")
return True
def start(self) -> bool:
self.LOG.info(f"[{self.name}] 插件已启动")
self.LOG.debug(f"[{self.name}] 插件已启动")
self.status = PluginStatus.RUNNING
return True