Server : Apache System : Linux wealthytechsolutions.wealthytechsolutions.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : raybondt ( 1003) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system Directory : /proc/125622/root/usr/lib64/python3.9/distutils/__pycache__/ |
a
�i� � @ 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.9/distutils/log.py�__init__ s zLog.__init__c C s� |t ttttfvr"tdt|� ��|| jkr�|r8|| }|tttfv rNtj }ntj
}z|�d| � W n8 ty� |j
}|�|d��|�}|�d| � Y n0 |�� 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'