摘要: 以下log配置 不用去pytest.ini配置log_cli和log_cli_level,配置了可能会打印两遍 import loggingimport sys# 创建一个loggerlogger = logging.getLogger()logger.setLevel(logging.DEBUG) 阅读全文
posted @ 2021-05-06 16:36 孤独的羊 阅读(1556) 评论(0) 推荐(0) 编辑