Python logging 模块打印异常 exception

logger.exception(sys.exc_info())
原文地址:https://www.cnblogs.com/liujx2019/p/11176826.html