chore(logger): add test comment to logger configuration

- Added test comment in logger utility function
- Removed duplicate log handling by keeping the remove() call
This commit is contained in:
方应 2026-04-09 17:19:18 +08:00
parent 6c2288de99
commit 5fbb39da7c

View file

@ -17,7 +17,7 @@ def init_logger(log_dir: str = "logs", level: str = "INFO", log_to_console: bool
# Remove default handler to avoid duplicate logs
logger.remove()
# test
# Configure colorized standard output logging if enabled
if log_to_console:
logger.add(