pythonpython写日志的封装类 python写日志的封装类# encoding:utf-8import sysimport loggingimport time def writeLog(message): logger=logging.getLogger() filename = time.strftime('%Y-%m-%d'……继续阅读 » 水墨上仙 5年前 (2019-08-08) 2664浏览 674个赞