GRAYBYTE WORDPRESS FILE MANAGER8645

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python38/lib/python3.8/site-packages/sentry_sdk//debug.py
import sys
import logging

from sentry_sdk import utils
from sentry_sdk.hub import Hub
from sentry_sdk.utils import logger
from sentry_sdk.client import _client_init_debug
from logging import LogRecord


class _HubBasedClientFilter(logging.Filter):
    def filter(self, record):
        # type: (LogRecord) -> bool
        if _client_init_debug.get(False):
            return True
        hub = Hub.current
        if hub is not None and hub.client is not None:
            return hub.client.options["debug"]
        return False


def init_debug_support():
    if not logger.handlers:
        configure_logger()
    configure_debug_hub()


def configure_logger():
    _handler = logging.StreamHandler(sys.stderr)
    _handler.setFormatter(logging.Formatter(" [sentry] %(levelname)s: %(message)s"))
    logger.addHandler(_handler)
    logger.setLevel(logging.DEBUG)
    logger.addFilter(_HubBasedClientFilter())


def configure_debug_hub():
    def _get_debug_hub():
        return Hub.current

    utils._get_debug_hub = _get_debug_hub

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 04 2025 08:00:30
root / linksafe
0755
__pycache__
--
March 05 2024 23:48:13
root / linksafe
0755
integrations
--
March 05 2024 23:48:13
root / linksafe
0755
__init__.py
1.403 KB
April 05 2019 23:15:16
root / linksafe
0644
_compat.py
2.174 KB
April 05 2019 23:15:16
root / linksafe
0644
api.py
2.816 KB
April 05 2019 23:15:16
root / linksafe
0644
client.py
8.397 KB
April 05 2019 23:15:16
root / linksafe
0644
consts.py
2.205 KB
April 05 2019 23:15:16
root / linksafe
0644
debug.py
1.013 KB
April 05 2019 23:15:16
root / linksafe
0644
hub.py
12.718 KB
April 05 2019 23:15:16
root / linksafe
0644
scope.py
7.024 KB
April 05 2019 23:15:16
root / linksafe
0644
transport.py
6.788 KB
April 05 2019 23:15:16
root / linksafe
0644
utils.py
26.917 KB
April 05 2019 23:15:16
root / linksafe
0644
worker.py
3.466 KB
April 05 2019 23:15:16
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF