HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/twisted/logger/__pycache__/_util.cpython-38.pyc
U


W[0�@sdZdd�ZdS)z
Logging utilities.
cCs�dd�}g}g}|D]�\}}|r,|d|k	rn||krL|d|k	rn|��q4n"|sd|�d�||���|�|�|�dt|��|�d�||���qd�|�S)a�
    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.
    @type trace: object

    @return: A multi-line string with indentation and arrows indicating the
        flow of the message through various observers.
    @rtype: L{unicode}
    cSs&t|d�rd�||j�Sd�|�SdS)N�namez	{0} ({1})z{0})�hasattr�formatr)�obj�r�6/usr/lib/python3/dist-packages/twisted/logger/_util.py�formatWithNames
z#formatTrace.<locals>.formatWithName���z{0}
z  z-> {0}
�)�pop�appendr�len�join)Ztracer�resultZlineage�parentZchildrrr�formatTraces

rN)�__doc__rrrrr�<module>s