code: def update_log_level(self, verbosity: Optional[int]):
      if verbosity is None:
          return
      self.verbosity = verbosity
  
      if verbosity == 0:
          self.verbosity = logging.WARNING
      elif verbosity == 1:
          self.verbosity = logging.INFO
      elif verbosity >= 2:
          self.verbosity = logging.DEBUG
      else:
          logging.disable(logging.CRITICAL)
          return
  
      # https://rich.readthedocs.io/en/latest/logging.html for more on RichHandler
      logging.basicConfig(
          level=self.verbosity,
          datefmt="[%X]",
          handlers=[RichHandler(markup=True, rich_tracebacks=True)],
      )
      logging.debug(f"Verbosity set to level {verbosity}")
  
imports: import datetime
  import os
  import pydoc
  from typing import Any, Callable, Dict, List, Optional, Type, Union
  import appdirs
  import yaml
  import logging
  from rich.logging import RichHandler
  from .None import _fwd
  from ._modules import PolymorphicChecker, ResourceLoader, Searcher
label_desc: Use image node_id 11 for calling the Config obj's underlying member method code with example usage: obj.update_log_level(verbosity) without return types