human
Complete the below
def ignore_logger(name_or_logger, allow_level=None):

    ''''Ignores a logger for the regular breadcrumb code.  This is useful
    for framework integration code where some log messages should be
    specially handled.'
    '''
assistant
#Here is the Python code you requested.
    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)