def __init__(self, levelno, reject):
logging.Filter.__init__(self)<EOL>self.levelno = levelno<EOL>self.reject = reject<EOL>
Args:
    levelno (int): which level do we work with (logging.DEBUG, etc.)
    reject (bool): remove messages of this level if true, remove all others if false