관리-도구
편집 파일: log.cpython-311.opt-1.pyc
� c��f� � � � 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'