class_docstr: Flag for printing verbose logging statements.
  
  Applies the given level to logging.getLogger('botorch') calls. For
  instance, when set to logging.INFO, all logger calls of level INFO or
  above will be printed to STDERR
class_docstr_tok: ["Flag","for","printing","verbose","logging","statements",".","Applies","the","given","level","to","logging.getLogger","(","'botorch","'",")","calls",".","For","instance",",","when","set","to","logging.INFO",",","all","logger","calls","of","level","INFO","or","above","will","be","printed","to","STDERR"]
docstr: Args:
      level: The log level. Defaults to LOG_LEVEL_DEFAULT.
docstr_tok: ["Args",":","level",":","The","log","level",".","Defaults","to","LOG_LEVEL_DEFAULT","."]
code: def __init__(self, level: int = LOG_LEVEL_DEFAULT) -> None:
      r"""
      Args:
          level: The log level. Defaults to LOG_LEVEL_DEFAULT.
      """
      self.prev = self.__class__.level
      self.level = level
  
imports: from __future__ import annotations
  from botorch.logging import LOG_LEVEL_DEFAULT, logger
label_desc: Use image node_id 2 to create a new log_level object  with example: obj = log_level(level)