File: //usr/lib/python3/dist-packages/twisted/python/__pycache__/log.cpython-312.pyc
�
�bW � � � d Z ddlZddlZddlZddlmZmZ ddlmZ ddlm Z m
Z
mZmZm
Z
ddlmZ ddlmZmZmZmZmZmZmZmZ ddlm Z dd l!m"Z# dd
l$m%Z%m&Z&m'Z'm(Z( ddl)m*Z* ee+e f Z, G d� d
� Z- G d� de� Z. e%j^ e-ddi� d� Z0d� Z1d9d�Z2e2Z3 G d� d� Z G d� d� Z e*e� d e4� vrnd� Z5 eeee�� Z6 e5e6jn � d� � Z7 e5e6jp � d� � Z8 e5e6jr � d� � Z9 e5e6jt � d� � Z:d e+d!ee+e f d"e+fd#�Z;d$e,d"ee+ fd%�Z< G d&� d'e� Z= G d(� d)e=� Z> G d*� d+e=� Z? G d,� d-� Z@d.� ZAd:d/�ZB G d0� d1� ZCd2� ZDd3 e4� vrX e e� ej� eFej� d4d� �5� aH e e� ej� eFej� d4d� �5� ZK G d6� d7e=� ZLd8 e4� vr eL� ZMyy);z%
Logging and metrics infrastructure.
� N)�ABC�abstractmethod)�datetime)�Any�BinaryIO�Dict�Optional�cast)� Interface)�LegacyLogObserverWrapper�Logger�LoggingFile�LogLevel�LogPublisher�STDLibLogObserver�globalLogBeginner�globalLogPublisher)�LogBeginner)�publishToNewObserver)�context�failure�reflect�util)�synchronizec � � e Zd ZdZy)�ILogContextz�
Actually, this interface is just a synonym for the dictionary interface,
but it serves as a key for the default information in a log.
I do not inherit from C{Interface} because the world is a cruel place.
N)�__name__�
__module__�__qualname__�__doc__� � �4/usr/lib/python3/dist-packages/twisted/python/log.pyr r % s � �r"