class_docstr: Filter log messages with patterns.
class_docstr_tok: ["Filter","log","messages","with","patterns","."]
docstr: Parameters
  ----------
  blacklist
      Patterns to be suppressed in logging.
docstr_tok: ["Parameters","--","--","--","--","--","blacklist","Patterns","to","be","suppressed","in","logging","."]
code: def __init__(self, blacklist: Union[str, List[str]]):
      """
      Parameters
      ----------
      blacklist
          Patterns to be suppressed in logging.
      """
      super().__init__()
      if isinstance(blacklist, str):
          blacklist = [blacklist]
      self._blacklist = blacklist
  
file_path: autogluon/multimodal/src/autogluon/multimodal/utils/log.py
imports: import datetime
  import logging
  import os
  from contextlib import contextmanager
  from typing import Dict, List, Optional, Tuple, Union
  import pytz
  import torch
  from autogluon.common.utils.system_info import get_ag_system_info
label_desc: Use image node_id 1 to create a new LogFilter object from inherited base classes: logging with example: obj = LogFilter(blacklist)