. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.167 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__pycache__/ |
Upload File : |
U
��\
� @ sz d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z d dlm
Z
G dd� dej�Zd d
� Z
dd� Zd
d� ZdS )� N)�utils)�Hub)�logger)�_client_init_debug)� LogRecordc @ s e Zd Zdd� ZdS )�_HubBasedClientFilterc C s6 t �d�rdS tj}|d k r2|jd k r2|jjd S dS )NFT�debug)r �getr �currentZclient�options)�self�recordZhub� r �A/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/debug.py�filter s
z_HubBasedClientFilter.filterN)�__name__�
__module__�__qualname__r r r r r r s r c C s t jst� t� d S �N)r �handlers�configure_logger�configure_debug_hubr r r r �init_debug_support s r c C sB t �tj�} | �t �d�� t�| � t�t j � t�
t� � d S )Nz$ [sentry] %(levelname)s: %(message)s)�loggingZ
StreamHandler�sys�stderrZsetFormatter� Formatterr Z
addHandlerZsetLevel�DEBUGZ addFilterr )Z_handlerr r r r s
r c C s dd� } | t _d S )Nc S s t jS r )r r
r r r r �_get_debug_hub% s z+configure_debug_hub.<locals>._get_debug_hub)r r )r r r r r $ s r )r r Z
sentry_sdkr Zsentry_sdk.hubr Zsentry_sdk.utilsr Zsentry_sdk.clientr r ZFilterr r r r r r r r �<module> s