SILENT KILLERPanel

Current Path: > > opt > hc_python > lib64 > python3.12 > > site-packages > > sentry_sdk >


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/hc_python/lib64/python3.12//site-packages//sentry_sdk/

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
ai Directory - -
crons Directory - -
integrations Directory - -
profiler Directory - -
__init__.py File 1215 bytes May 23 2025 10:34:44.
_compat.py File 3116 bytes May 23 2025 10:34:44.
_init_implementation.py File 2559 bytes May 23 2025 10:34:44.
_log_batcher.py File 5085 bytes May 23 2025 10:34:44.
_lru_cache.py File 1229 bytes May 23 2025 10:34:44.
_queue.py File 11250 bytes May 23 2025 10:34:44.
_types.py File 10462 bytes May 23 2025 10:34:44.
_werkzeug.py File 3734 bytes May 23 2025 10:34:44.
api.py File 11866 bytes May 23 2025 10:34:44.
attachments.py File 3109 bytes May 23 2025 10:34:44.
client.py File 38029 bytes May 23 2025 10:34:44.
consts.py File 40631 bytes May 23 2025 10:34:44.
debug.py File 1019 bytes May 23 2025 10:34:44.
envelope.py File 10355 bytes May 23 2025 10:34:44.
feature_flags.py File 2233 bytes May 23 2025 10:34:44.
hub.py File 25675 bytes May 23 2025 10:34:44.
logger.py File 1656 bytes May 23 2025 10:34:44.
metrics.py File 29913 bytes May 23 2025 10:34:44.
monitor.py File 3710 bytes May 23 2025 10:34:44.
py.typed File 0 bytes May 23 2025 10:34:44.
scope.py File 63332 bytes May 23 2025 10:34:44.
scrubber.py File 6064 bytes May 23 2025 10:34:44.
serializer.py File 13087 bytes May 23 2025 10:34:44.
session.py File 5571 bytes May 23 2025 10:34:44.
sessions.py File 9181 bytes May 23 2025 10:34:44.
spotlight.py File 8678 bytes May 23 2025 10:34:44.
tracing.py File 48114 bytes May 23 2025 10:34:44.
tracing_utils.py File 28820 bytes May 23 2025 10:34:44.
transport.py File 32604 bytes May 23 2025 10:34:44.
types.py File 1222 bytes May 23 2025 10:34:44.
utils.py File 59368 bytes May 23 2025 10:34:44.
worker.py File 4464 bytes May 23 2025 10:34:44.

Reading File: //opt/hc_python/lib64/python3.12//site-packages//sentry_sdk//debug.py

import sys
import logging
import warnings

from sentry_sdk import get_client
from sentry_sdk.client import _client_init_debug
from sentry_sdk.utils import logger
from logging import LogRecord


class _DebugFilter(logging.Filter):
    def filter(self, record):
        # type: (LogRecord) -> bool
        if _client_init_debug.get(False):
            return True

        return get_client().options["debug"]


def init_debug_support():
    # type: () -> None
    if not logger.handlers:
        configure_logger()


def configure_logger():
    # type: () -> None
    _handler = logging.StreamHandler(sys.stderr)
    _handler.setFormatter(logging.Formatter(" [sentry] %(levelname)s: %(message)s"))
    logger.addHandler(_handler)
    logger.setLevel(logging.DEBUG)
    logger.addFilter(_DebugFilter())


def configure_debug_hub():
    # type: () -> None
    warnings.warn(
        "configure_debug_hub is deprecated. Please remove calls to it, as it is a no-op.",
        DeprecationWarning,
        stacklevel=2,
    )

SILENT KILLER Tool