← Back
Editing: _util.cpython-38.pyc
U W[0 � @ s d Z dd� ZdS )z Logging utilities. c C s� 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} c S s&