def test_howto_use_in_tests():
# select what you want to see.
# e.g. TRACE from vm except for pre_state :DEBUG otherwise
slogging.configure(':DEBUG,eth.vm:TRACE,vm.pre_state:INFO')
log = slogging.get_logger('tests.logging')
log.info('test starts')
评论列表
文章目录