Server IP : 184.154.167.98 / Your IP : 3.145.75.69 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.8/distutils/__pycache__/ |
Upload File : |
U e5d� � @ sl d Z dZdZdZdZdZddlZG dd � d �Ze� Zej Z ej Z ejZejZej Z ejZd d� Zdd � ZdS )z,A simple log mechanism styled after PEP 282.� � � � � � Nc @ sP e Zd Zefdd�Zdd� Zdd� Zdd� Zd d � Zdd� Z d d� Z dd� ZdS )�Logc C s || _ d S �N)� threshold)�selfr � r �%/usr/lib64/python3.8/distutils/log.py�__init__ s zLog.__init__c C s� |t ttttfkr"tdt|� ��|| jkr�|r8|| }|tttfkrNtj }ntj }z|�d| � W n: tk r� |j }|�|d��|�}|�d| � Y nX |�� d S )Nz%s wrong log levelz%s �backslashreplace)�DEBUG�INFO�WARN�ERROR�FATAL� ValueError�strr �sys�stderr�stdout�write�UnicodeEncodeError�encoding�encode�decode�flush)r �level�msg�args�streamr r r r �_log s zLog._logc G s | � |||� d S r )r# )r r r r! r r r �log'