SILENT KILLERPanel

Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > setuptools > > _distutils >


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/cloudlinux/venv/lib64/python3.11/site-packages/setuptools//_distutils/

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
command Directory - -
compat Directory - -
compilers Directory - -
tests Directory - -
__init__.py File 359 bytes April 17 2025 13:10:58.
_log.py File 42 bytes April 17 2025 13:10:58.
_macos_compat.py File 239 bytes April 17 2025 13:10:58.
_modified.py File 3211 bytes April 17 2025 13:10:58.
_msvccompiler.py File 335 bytes April 17 2025 13:10:58.
archive_util.py File 8884 bytes April 17 2025 13:10:58.
ccompiler.py File 524 bytes April 17 2025 13:10:58.
cmd.py File 22186 bytes April 17 2025 13:10:58.
core.py File 9364 bytes April 17 2025 13:10:58.
cygwinccompiler.py File 594 bytes April 17 2025 13:10:58.
debug.py File 139 bytes April 17 2025 13:10:58.
dep_util.py File 349 bytes April 17 2025 13:10:58.
dir_util.py File 7236 bytes April 17 2025 13:10:58.
dist.py File 55794 bytes April 17 2025 13:10:58.
errors.py File 3092 bytes April 17 2025 13:10:58.
extension.py File 11155 bytes April 17 2025 13:10:58.
fancy_getopt.py File 17895 bytes April 17 2025 13:10:58.
file_util.py File 7978 bytes April 17 2025 13:10:58.
filelist.py File 15337 bytes April 17 2025 13:10:58.
log.py File 1200 bytes April 17 2025 13:10:58.
spawn.py File 4086 bytes April 17 2025 13:10:58.
sysconfig.py File 19728 bytes April 17 2025 13:10:58.
text_file.py File 12101 bytes April 17 2025 13:10:58.
unixccompiler.py File 212 bytes April 17 2025 13:10:58.
util.py File 18094 bytes April 17 2025 13:10:58.
version.py File 12619 bytes April 17 2025 13:10:58.
versionpredicate.py File 5205 bytes April 17 2025 13:10:58.
zosccompiler.py File 58 bytes April 17 2025 13:10:58.

Reading File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/setuptools//_distutils//log.py

"""
A simple log mechanism styled after PEP 282.

Retained for compatibility and should not be used.
"""

import logging
import warnings

from ._log import log as _global_log

DEBUG = logging.DEBUG
INFO = logging.INFO
WARN = logging.WARN
ERROR = logging.ERROR
FATAL = logging.FATAL

log = _global_log.log
debug = _global_log.debug
info = _global_log.info
warn = _global_log.warning
error = _global_log.error
fatal = _global_log.fatal


def set_threshold(level):
    orig = _global_log.level
    _global_log.setLevel(level)
    return orig


def set_verbosity(v):
    if v <= 0:
        set_threshold(logging.WARN)
    elif v == 1:
        set_threshold(logging.INFO)
    elif v >= 2:
        set_threshold(logging.DEBUG)


class Log(logging.Logger):
    """distutils.log.Log is deprecated, please use an alternative from `logging`."""

    def __init__(self, threshold=WARN):
        warnings.warn(Log.__doc__)  # avoid DeprecationWarning to ensure warn is shown
        super().__init__(__name__, level=threshold)

    @property
    def threshold(self):
        return self.level

    @threshold.setter
    def threshold(self, level):
        self.setLevel(level)

    warn = logging.Logger.warning

SILENT KILLER Tool