摘要: 生产杯子 import time, logging, threading FORMAT = '%(asctime)s %(threadName)s %(thread)d %(message)s' logging.basicConfig(level=logging.INFO, format=FORMA 阅读全文
posted @ 2022-02-24 22:02 ascertain 阅读(89) 评论(0) 推荐(0) 编辑
摘要: import logging FORMAT = '%(asctime)-15s\tThread: %(threadName)s %(thread)d %(message)s' logging.basicConfig(format=FORMAT, level=logging.WARNING, date 阅读全文
posted @ 2022-02-24 19:47 ascertain 阅读(23) 评论(0) 推荐(0) 编辑