feat(logging): 更新日志记录,添加不同日志类型以增强调试信息
This commit is contained in:
1 parent
b8593c728a
commit
ee0511e327
9 files changed
+432
-157
No files matched your search
@@ -319,6 +319,11 @@ def main():
|
||||
ttk.Spinbox(top, from_=-200, to=200, textvariable=y_var, width=6).pack(
|
||||
side=LEFT, padx=(0, 12)
|
||||
)
|
||||
# 连续无福袋退出阈值(在直播间连续未找到福袋达到该次数时按返回键退出)
|
||||
ttk.Label(top, text="连续无福袋退出阈值:").pack(side=LEFT)
|
||||
ttk.Spinbox(
|
||||
top, from_=1, to=99999, textvariable=fudai_exit_after_misses_var, width=6
|
||||
).pack(side=LEFT, padx=(0, 12))
|
||||
|
||||
# 中部:左侧配置(使用Notebook标签页)+ 右侧日志/预览(支持拖拽调整宽度)
|
||||
mid = ttk.PanedWindow(root, orient="horizontal")
|
||||
@@ -415,6 +420,9 @@ def main():
|
||||
fudai_disable_content_recognition_var = tk.BooleanVar(
|
||||
value=bool(cfg.get("fudai_disable_content_recognition", False))
|
||||
)
|
||||
fudai_exit_after_misses_var = tk.IntVar(
|
||||
value=int(cfg.get("fudai_exit_after_misses", 30) or 30)
|
||||
)
|
||||
fudai_click_wait_seconds_var = tk.DoubleVar(
|
||||
value=float(cfg.get("fudai_click_wait_seconds", 1.0) or 1.0)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user