code: def mute_stdio(self) -> None:
          
  
          # The benefit of using a Filter here for disabling messages is that we do not have to restore old logging levels.
          for logger in self.loggers.values():
              if logger.hasHandlers():
                  logger.handlers[0].addFilter(self.block_all_filter)
docs: Intended to temporarily mute messages by applying a `BlockAll` filter.
          Use in combination with `unmute_stdio()`