直接看代码 # 初始化日志模块 import logging import logging.handlers logger = logging.getLogger('manager') # 输出到控制台, 级别为DEBUG console = logging.StreamHandler() console.setLevel(logging.DEBUG) logger.addHand...
直接看代码 # 初始化日志模块 import logging import logging.handlers logger = logging.getLogger('manager') # 输出到控制台, 级别为DEBUG console = logging.StreamHandler() console.setLevel(logging.DEBUG) logger.addHand...