Returns True if the record shall be logged. False otherwise.

        https://github.com/python/cpython/blob/2.7/Lib/logging/__init__.py#L607

def filter(self, record):
        """
        Returns True if the record shall be logged. False otherwise.

        https://github.com/python/cpython/blob/2.7/Lib/logging/__init__.py#L607
        """
        found = self._pattern.search(record.getMessage())
        return not found