python日志库loguru
摘要:
import contextlib from loguru import logger APPDATA = os.getenv('APPDATA') log_filepath = APPDATA + '\\your_app\\Logs\\mylog.log' logger.remove() logg 阅读全文
posted @ 2021-04-23 15:22 拥剑公子 阅读(132) 评论(0) 推荐(0) 编辑