Python Logging Formatter
本文转自:https://blog.csdn.net/claroja/article/details/102601920
默认只输出'%(message)s'
,message既是各个级别的输入
class logging.Formatter(fmt=None, datefmt=None, style='%')
可用的输出
https://docs.python.org/3/library/logging.html#formatter-objects