code: def config_stdio(self, log_configurations: Optional[List[LogConfiguration]] = None, default_level=logging.INFO) -> None:
          
          # no configuration specified, apply `default_level` to the stdio handler of all known loggers
          if not log_configurations:
              for logger in self.loggers.values():
                  self._restrict_output(logger, default_level)
          # only apply specified configuration to the stdio `StreamHandler` of the specific component
          else:
              for component, level in log_configurations:
                  try:
                      logger = self.loggers[self.root + component]
                  except KeyError:
                      raise ValueError("Failed to configure component. Invalid name: {}".format(component))
                  self._restrict_output(logger, level)
docs: Configure the stdio `StreamHandler` levels on the specified loggers.
          If no log configurations are specified then the `default_level` will be applied to all handlers.
  
          Args:
              log_configurations: a list of (component name, log level) tuples
              default_level: logging level to apply when no log_configurations are specified