https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/logger/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/logger/__pycache__/_util.cpython-310.pyc
o

�bx�@s>dZddlmZddlmZddlmZdedefdd	�Zd
S)z
Logging utilities.
�)�List�)�LogTrace)�Logger�trace�returncCs�dtdtfdd�}g}g}|D]F\}}|r|d|urA||vr0|d|ur/|��|d|us%n|s<|�||��d��|�|�|�dt|��|�d||��d��qd	�|�S)
ay
    Format a trace (that is, the contents of the C{log_trace} key of a log
    event) as a visual indication of the message's propagation through various
    observers.

    @param trace: the contents of the C{log_trace} key from an event.

    @return: A multi-line string with indentation and arrows indicating the
        flow of the message through various observers.
    �objrcSs"t|d�r|�d|j�d�S|�S)N�namez (�))�hasattrr	)r�r�6/usr/lib/python3/dist-packages/twisted/logger/_util.py�formatWithNames
z#formatTrace.<locals>.formatWithName����
z  z-> �)�object�str�pop�append�len�join)rr�result�lineage�parent�childrrr
�formatTraces ��

rN)	�__doc__�typingr�_interfacesr�_loggerrrrrrrr
�<module>s


https://t.me/RX1948 - 2025