human
Complete this python program:
def ignore_logger(name_or_logger, allow_level=None):
assistant
#Here is the Python program you requested.

    """Ignores a logger for the regular breadcrumb code.  This is useful
    for framework integration code where some log messages should be
    specially handled.
    """
    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)