Codebase list logbook / 9b1b88b benchmark / bench_test_handler.py
9b1b88b

Tree @9b1b88b (Download .tar.gz)

bench_test_handler.py @9b1b88braw · history · blame

"""Tests the test handler"""
from logbook import Logger, TestHandler


log = Logger('Test logger')


def run():
    with TestHandler() as handler:
        for x in xrange(500):
            log.warning('this is not handled')