Package list logbook / c8966c0 benchmark / bench_disabled_logger.py
c8966c0

Tree @c8966c0 (Download .tar.gz)

bench_disabled_logger.py @c8966c0raw · history · blame

"""Tests with the whole logger disabled"""
from logbook import Logger


log = Logger('Test logger')
log.disabled = True


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