Python Logger类,保存本地文件并在console打印
摘要:
import logging import time import os class Logger: def __init__(self, logger_name): # 创建一个logger self.logger = logging.getLogger(logger_name) self.log 阅读全文
posted @ 2021-05-15 20:44 BionExit 阅读(472) 评论(0) 推荐(0) 编辑