def test_enable_logging(self):
logger = multiprocessing.get_logger()
logger.setLevel(util.SUBWARNING)
self.assertTrue(logger is not None)
logger.debug('this will not be printed')
logger.info('nor will this')
logger.setLevel(LOG_LEVEL)
test_multiprocessing.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录