<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    ¿öY  ã               @   s2   d Z ddlmZ ddlZdgZdZefdd„ZdS )z‘
raven.conf
~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
é    )Úabsolute_importNÚsetup_logging)ÚravenZgunicornZsouthzsentry.errorszdjango.requestc             C   sX   t  ¡ }| jtt|jƒkrdS | | ¡ x*|D ]"}t  |¡}d|_| t  ¡ ¡ q.W dS )aÙ  
    Configures logging to pipe to Sentry.

    - ``exclude`` is a list of loggers that shouldn't go to Sentry.

    For a typical Python install:

    >>> from raven.handlers.logging import SentryHandler
    >>> client = Sentry(...)
    >>> setup_logging(SentryHandler(client))

    Within Django:

    >>> from raven.contrib.django.handlers import SentryHandler
    >>> setup_logging(SentryHandler())

    Returns a boolean based on if logging was configured or not.
    FT)	ÚloggingÚ	getLoggerÚ	__class__ÚmapÚtypeÚhandlersÚ
addHandlerÚ	propagateÚStreamHandler)ÚhandlerÚexcludeÚloggerÚlogger_name© r   úD/opt/alt/python37/lib/python3.7/site-packages/raven/conf/__init__.pyr      s    


)Ú__doc__Ú
__future__r   r   Ú__all__ZEXCLUDE_LOGGER_DEFAULTSr   r   r   r   r   Ú<module>   s
   