docs: def update_sentry_logging(logging_dict: DictStrAny,
                            sentry_dsn: Optional[str],
                            *loggers: str,
                            level: Union[str, int] = None,
                            **kwargs: Any) -> None:
      r"""Enable Sentry logging if Sentry DSN passed.
  
      .. note::
          Sentry logging requires `raven <http://pypi.python.org/pypi/raven>`_
          library to be installed.
  
      **Usage**::
  
          from logging.config import dictConfig
  
          LOGGING = default_logging_dict()
          SENTRY_DSN = '...'
  
          update_sentry_logging(LOGGING, SENTRY_DSN)
          dictConfig(LOGGING)
  
      **Using AioHttpTransport for SentryHandler**
  
      This will allow to use ``aiohttp.client`` for pushing data to Sentry in
      your ``aiohttp.web`` app, which means elimination of sync calls to Sentry.
  
      ::
  
          from raven_aiohttp import AioHttpTransport
          update_sentry_logging(LOGGING, SENTRY_DSN, transport=AioHttpTransport)
  
      :param logging_dict: Logging dict.
      :param sentry_dsn:
          Sentry DSN value. If ``None`` do not update logging dict at all.
      :param \*loggers:
          Use Sentry logging for each logger in the sequence. If the sequence is
          empty use Sentry logging to each available logger.
      :param \*\*kwargs: Additional kwargs to be passed to ``SentryHandler``.
      """
      # No Sentry DSN, nothing to do
      if not sentry_dsn:
          return
  
      # Add Sentry handler
      kwargs['class'] = 'raven.handlers.logging.SentryHandler'
      kwargs['dsn'] = sentry_dsn
      logging_dict['handlers']['sentry'] = dict(
          level=level or 'WARNING',
          **kwargs)
  
      loggers = tuple(logging_dict['loggers']) if not loggers else loggers
      for logger in loggers:
          # Ignore missing loggers
          logger_dict = logging_dict['loggers'].get(logger)
          if not logger_dict:
              continue
  
          # Ignore logger from logger config
          if logger_dict.pop('ignore_sentry', False):
              continue
  
          # Handlers list should exist
          handlers = list(logger_dict.setdefault('handlers', []))
          handlers.append('sentry')
          logger_dict['handlers'] = tuple(handlers)