摘要: 使用python自带logging库,在flask启动文件中增加配置 import logging from logging import handlers # 日志配置 LOG_FILE = 'info.log' logger_formatter = logging.Formatter('%(as 阅读全文
posted @ 2021-05-26 16:33 守望人间 阅读(758) 评论(0) 推荐(0)