refactor: 重构所有模块对于logger的初始化方式(可能不全)

This commit is contained in:
AL76
2025-03-15 15:10:58 +08:00
parent 61fcc83049
commit ea88420ae2
24 changed files with 72 additions and 51 deletions

View File

@@ -3,10 +3,11 @@ import time
from collections import defaultdict
from datetime import datetime, timedelta
from typing import Any, Dict
from loguru import logger
from src.common.logger import get_module_logger
from ...common.database import db
logger = get_module_logger("llm_statistics")
class LLMStatistics:
def __init__(self, output_file: str = "llm_statistics.txt"):