CasperSecurity

Current Path : /lib/python3/dist-packages/twisted/logger/__pycache__/
Upload File :
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

Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY