-
加载
from loguru import logger
-
添加
logger.add("logs.log", rotation="5 MB", retention="5 days", level="INFO")
-
应用
logger.info(f'something{} {}')
加载
from loguru import logger
添加
logger.add("logs.log", rotation="5 MB", retention="5 days", level="INFO")
应用
logger.info(f'something{} {}')