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:45:37 +08:00
parent 6ac8912ab5
commit 99f84d9f7f

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(