标签:logging

python之logging模块详解

PHPABC PHP开发 524 次浏览 ,
一、简单的将日志打印到屏幕 import logging logging.debug('This is debug message') logging.info('This is info message') logging.warning('This is warning message') 屏幕上打印: WARNING:root:This is warning message ...
Go