chore:清理代码,移除不必要的注释和导入,优化日志记录和错误处理

This commit is contained in:
snaily
2025-04-21 13:20:32 +08:00
parent a7085964e8
commit f83f0fa768
13 changed files with 8 additions and 46 deletions

View File

@@ -113,8 +113,6 @@ class Logger:
# 可选:记录级别变更日志,但注意避免在日志模块内部产生过多日志
# print(f"Updated log level for logger '{logger_name}' to {log_level_str.upper()}")
updated_count += 1
# if updated_count > 0:
# print(f"Updated log level for {updated_count} loggers to {log_level_str.upper()}.")
# 预定义的loggers