code: def all_logging_disabled(highest_level=logging.CRITICAL):
      
      previous_level = logging.root.manager.disable
      logging.disable(highest_level)
      try:
          yield
      finally:
          logging.disable(previous_level)
docs: Disable all logging temporarily.
  
      A context manager that will prevent any logging messages triggered during the body from being processed.
  
      Args:
          highest_level: the maximum logging level that is being blocked