摘要: import logging import sys class ConsoleHandler(logging.Handler): terminator = '\n' def __init__(self, level=logging.NOTSET): super().__init__(level) def _flush(self, stream): ... 阅读全文
posted @ 2018-01-24 11:40 stone_wl 阅读(444) 评论(0) 推荐(0) 编辑