human
I wrote the below code

    def handler(logger, level, msg, args, kwargs):
        if ((allow_level is not None) and (level >= allow_level)):
            return False
        return True
    register_special_log_handler(name_or_logger, handler)

What's a good function header?
assistant
#Here's a good function header.

def ignore_logger(name_or_logger, allow_level=None):