Python logging 模块打印异常 exception

 

logger.exception(sys.exc_info())

 

转载于:https://www.cnblogs.com/liujx2019/p/11176826.html

你可能感兴趣的:(Python logging 模块打印异常 exception)