mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-10 22:41:06 +00:00
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:
parent
6c2288de99
commit
5fbb39da7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue