def METHOD_NAME():
    result = None
    def log_func(level, msg, *args, **kwargs):
        nonlocal result
        result = (level, msg)
    new_log_func = formatted_logger(log_func, "a %s c")
    new_log_func(logging.INFO, "b")
    assert result == (logging.INFO, "a b c")