def test_transientlogger2():
    import time, random
    gothic = lorem_gotham()
    try:
        while True:
            if random.randrange(20) == 0:
                logger.warning(red(gothic.next()))
            else:
                logger.debug(gothic.next())
            time.sleep(0.1)
    except __HOLE__:
        pass
dataset/ETHPy150Open jart/fabulous/fabulous/test_transientlogging.py/test_transientlogger2