1
This commit is contained in:
2024-11-30 14:08:42 +08:00
parent b5bad05205
commit 0db865854e
5 changed files with 132 additions and 22 deletions

4
configs/log_config.py Normal file
View File

@@ -0,0 +1,4 @@
from loguru import logger
# 配置日志
logger.add("mahjong_ai_{time}.log", rotation="10 MB", level="DEBUG", format="{time} {level} {message}")