def test_emit_noop(handler, framework):
    logger = txaio.make_logger()

    old_log = txaio.get_global_log_level()
    txaio.set_global_log_level("info")

    logger.emit("debug", "foobar")

    txaio.set_global_log_level(old_log)

    assert len(handler.messages) == 0
emit() with a too-low level is an no-op.
dataset/ETHPy150Open crossbario/txaio/test/test_logging.py/test_emit_noop