feat:为多个模块添加丰富的追踪信息以增强调试能力

This commit is contained in:
墨梓柒
2025-05-02 03:18:24 +08:00
parent d23bee969d
commit 9cf62f983e
32 changed files with 65 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ from ...config.config import global_config
from .utils import truncate_message, calculate_typing_time, count_messages_between
from src.common.logger_manager import get_logger
from rich.traceback import install
install(show_locals=True, extra_lines=3)
logger = get_logger("sender")