Python
未读
Python使用logging模块处理日志
日志示例 import logging
# 在logging.basicConfig()函数中设置level为DEBUG级,输出格式format为'%(asctime)s - %(levelname)s - %(message)s')
# 这样在logging.debug(message)处会输出这