日志LEVEL=2追踪级,构建脚本改为--console显示调试终端,stderr加flush防止缓冲

This commit is contained in:
2026-05-15 15:53:15 +08:00
parent b925a89b6c
commit 65bdf1d538
+1 -1
View File
@@ -25,7 +25,7 @@ def _fmt(msg: str) -> str:
def _emit(msg: str): def _emit(msg: str):
print(_fmt(msg), file=sys.stderr) print(_fmt(msg), file=sys.stderr, flush=True)
if _gui_callback: if _gui_callback:
_gui_callback(msg) _gui_callback(msg)