code: def set_default_log_levels(loggers_and_log_levels):
      
      for logger, level in loggers_and_log_levels:
          if isinstance(level, str):
              level = level.upper()
          logging.getLogger(logger).setLevel(level)
docs: Set default log levels for some loggers.
  
      :param loggers_and_log_levels: List of tuple (logger name, level).