This commit is contained in:
zj
2026-02-02 18:38:41 +08:00
parent be5a0bc2c7
commit a90725d178
14 changed files with 2345 additions and 465 deletions

View File

@@ -31,7 +31,7 @@ def setup_logging(text_edit_widget: QTextEdit):
"""
root_logger = logging.getLogger()
# 设置日志级别,可以根据需要调整 (DEBUG, INFO, WARNING, ERROR, CRITICAL)
root_logger.setLevel(logging.INFO)
root_logger.setLevel(logging.DEBUG)
# 清除现有的处理器,防止重复输出(如果多次调用此函数)
for handler in root_logger.handlers[:]: