python logging
import logging
# Get an instance of a logger
logger = logging.getLogger(__name__)
logger.debug('debug 调试')
logger.info('info 乾着乾着就幹別的去了')
logger.warn('warn 警告')
logger.error('error 錯誤')
logger.critical('critical 危急')
import logging
# Get an instance of a logger
logger = logging.getLogger(__name__)
logger.debug('debug 调试')
logger.info('info 乾着乾着就幹別的去了')
logger.warn('warn 警告')
logger.error('error 錯誤')
logger.critical('critical 危急')