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

@@ -7,7 +7,9 @@ import jieba
import matplotlib.pyplot as plt
import networkx as nx
from dotenv import load_dotenv
from loguru import logger
from src.common.logger import get_module_logger
logger = get_module_logger("draw_memory")
# 添加项目根目录到 Python 路径
root_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../.."))