Hacked By AnonymousFox

Current Path : /opt/alt/python311/lib64/python3.11/distutils/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/distutils/__pycache__/log.cpython-311.pyc

�

c��f����dZdZdZdZdZdZddlZGd�d	��Ze��Zej	Z	ej
Z
ejZejZej
Z
ejZd
�Zd�ZdS)z,A simple log mechanism styled after PEP 282.������Nc�B�eZdZefd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	S)
�Logc��||_dS�N)�	threshold)�selfrs  �4/opt/alt/python311/lib64/python3.11/distutils/log.py�__init__zLog.__init__s
��"�����c��|tttttfvrtdt
|��z���||jkr�|r||z}|tttfvr
tj	}ntj
}	|�d|z��nX#t$rK|j
}|�|d���|��}|�d|z��YnwxYw|���dSdS)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�streamrs      r�_logzLog._logs�����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�|�|||��dSr)r')r
r#r$r%s    r�logzLog.log's���	�	�%��d�#�#�#�#�#rc�>�|�t||��dSr)r'r�r
r$r%s   r�debugz	Log.debug*����	�	�%��d�#�#�#�#�#rc�>�|�t||��dSr)r'rr+s   r�infozLog.info-����	�	�$��T�"�"�"�"�"rc�>�|�t||��dSr)r'rr+s   r�warnzLog.warn0r0rc�>�|�t||��dSr)r'rr+s   r�errorz	Log.error3r-rc�>�|�t||��dSr)r'rr+s   r�fatalz	Log.fatal6r-rN)�__name__�
__module__�__qualname__rrr'r)r,r/r2r4r6�rrr	r	s�������!%�#�#�#�#����($�$�$�$�$�$�#�#�#�#�#�#�$�$�$�$�$�$�$�$rr	c�6�tj}|t_|Sr)�_global_logr)r#�olds  r�
set_thresholdr>As��
�
�C�!�K���Jrc��|dkrtt��dS|dkrtt��dS|dkrtt��dSdS)Nrrr)r>rrr)�vs r�
set_verbosityrAGs`���A�v�v��d������	
�a����d������	
�a����e������
�r)�__doc__rrrrrrr	r<r)r,r/r2r4r6r>rAr:rr�<module>rCs���2�2�
	
������	��	��
�
�
�
�)$�)$�)$�)$�)$�)$�)$�)$�V�c�e�e���o������������������������r

Hacked By AnonymousFox1.0, Coded By AnonymousFox