AlkantarClanX12
Current Path : /usr/lib64/python3.8/distutils/__pycache__/ |
Current File : //usr/lib64/python3.8/distutils/__pycache__/log.cpython-38.opt-2.pyc |
U e5d� � @ sh d Z dZdZdZdZddlZG dd� d�Ze� ZejZej Z ej Z ejZejZej Z d d � Zdd� ZdS ) � � � � � � 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'