code: def setup_logging(
          self, log_level=logging.INFO, excluded_loggers=EXCLUDED_LOGGER_DEFAULTS, **kw
      ):
          
          handler = self.get_default_handler(**kw)
          setup_logging(handler, log_level=log_level, excluded_loggers=excluded_loggers)
docs: Attach default Stackdriver logging handler to the root logger.
  
          This method uses the default log handler, obtained by
          :meth:`~get_default_handler`, and attaches it to the root Python
          logger, so that a call such as ``logging.warn``, as well as all child
          loggers, will report to Stackdriver logging.
  
          :type log_level: int
          :param log_level: (Optional) Python logging log level. Defaults to
                            :const:`logging.INFO`.
  
          :type excluded_loggers: tuple
          :param excluded_loggers: (Optional) The loggers to not attach the
                                   handler to. This will always include the
                                   loggers in the path of the logging client
                                   itself.
  
          :type kw: dict
          :param kw: keyword args passed to handler constructor