Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
distutils
/
__pycache__
[ HOME ]
Exec
Submit
log.cpython-311.pyc
� �,d� � � � d Z dZdZdZdZdZddlZ G d� d � � Z e� � Zej Z ej Z ej Zej Zej Z ej Zd � Zd� ZdS )z,A simple log mechanism styled after PEP 282.� � � � � � Nc �B � e Zd Zefd�Zd� Zd� Zd� Zd� Zd� Z d� Z d� Zd S ) �Logc � � || _ d S �N)� threshold)�selfr s �4/opt/alt/python311/lib64/python3.11/distutils/log.py�__init__zLog.__init__ s � �"����� c � � |t t t t t fvrt dt |� � z � � �|| j k r�|r||z }|t t t fv r t j }nt j } |� d|z � � nX# t $ rK |j }|� |d� � � |� � }|� d|z � � Y nw xY w|� � � d S 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 s r �_logzLog._log s � ����d�E�5�9�9�9��1�C��J�J�>�?�?�?��D�N�"�"�� !��D�j����u�e�,�,�,�������� +����V�c�\�*�*�*�*��%� +� +� +�!�?���j�j��+=�>�>�E�E�h�O�O�����V�c�\�*�*�*�*�*� +���� �L�L�N�N�N�N�N� #�"s �B �AC2�1C2c �4 � | � |||� � d S r )r'