HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/logger/__pycache__/_capture.cpython-38.pyc
U

�bp�@sbdZddlmZddlmZmZmZmZddlm	Z	ddl
mZmZeeeed�dd	��Z
d
S)z%
Context manager for capturing logs.
�)�contextmanager)�Iterator�List�Sequence�cast)�globalLogPublisher�)�ILogObserver�LogEvent)�returnccs.g}tt|j�}t�|�|Vt�|�dS)N)rr	�appendr�addObserver�removeObserver)�events�observer�r�9/usr/lib/python3/dist-packages/twisted/logger/_capture.py�capturedLogss

rN)�__doc__�
contextlibr�typingrrrr�twisted.loggerr�_interfacesr	r
rrrrr�<module>s