class_docstr: Filters out everything that is at the ERROR level or higher. This is meant to be used
  with a stdout handler when a stderr handler is also configured. That way ERROR
  messages aren't duplicated.
class_docstr_tok: ["Filters","out","everything","that","is","at","the","ERROR","level","or","higher",".","This","is","meant","to","be","used","with","a","stdout","handler","when","a","stderr","handler","is","also","configured",".","That","way","ERROR","messages","are","n't","duplicated","."]
code: def filter(self, record):
      return record.levelno < logging.ERROR
  
file_path: allennlp/allennlp/common/logging.py
imports: import logging
  from logging import Filter
  import os
  from os import PathLike
  from typing import Union
  import sys
label_desc: Use image node_id 1 for calling the ErrorFilter obj's underlying member method code with example usage: obj.filter(record) and returns: unknown