docstr: Disables a specific logger by name (e.g. module path) by setting the
  log level at the given one for the duration of the decorated function's call
docstr_tok: ["Disables","a","specific","logger","by","name","(","e.g",".","module","path",")","by","setting","the","log","level","at","the","given","one","for","the","duration","of","the","decorated","function","'s","call"]
code: def __init__(self, name: str, level: int = logging.ERROR) -> None:
      """Disables a specific logger by name (e.g. module path) by setting the
      log level at the given one for the duration of the decorated function's call
      """
      self.name = name
      self.level = level
  
imports: import logging
  import os
  import re
  from functools import wraps
  from typing import Any, Callable, Iterable, List, TypeVar
  from ax.utils.common.decorator import ClassDecorator
label_desc: Use image node_id 1 to create a new disable_logger object from inherited base classes: ClassDecorator with example: obj = disable_logger(name, level)