摘要: import logging logger = logging.getLogger() logger.setLevel(level = logging.INFO) #可以不设,默认是WARNING级别 handler = logging.FileHandler("log.txt") handler. 阅读全文
posted @ 2020-02-14 15:56 mghhz816 阅读(11416) 评论(0) 推荐(2) 编辑