摘要: 1 _filefmt=os.path.join("logs","%Y-%m-%d.log") 2 class MyLoggerHandler(logging.Handler): 3 def __init__(self,filefmt=None): 4 self.filefm... 阅读全文