ó
    öÞ jd  ã                  óN   • S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\5      r	g)	z.
Generic bound logger that can wrap anything.
é    )Úannotations)Úpartial)ÚAny)ÚBoundLoggerBasec                  ó6   • \ rS rSrSrSS jrS	S jrS
S jrSrg)ÚBoundLoggeré   a°  
A generic BoundLogger that can wrap anything.

Every unknown method will be passed to the wrapped *logger*. If that's too
much magic for you, try `structlog.stdlib.BoundLogger` or
`structlog.twisted.BoundLogger` which also take advantage of knowing the
wrapped class which generally results in better performance.

Not intended to be instantiated by yourself.  See
:func:`~structlog.wrap_logger` and :func:`~structlog.get_logger`.
c                óX   • US:X  a  g[        U R                  U5      n[        XU5        U$ )zH
If not done so yet, wrap the desired logger method & cache the result.
Ú__deepcopy__N)r   Ú_proxy_to_loggerÚsetattr)ÚselfÚmethod_nameÚwrappeds      ÚL/var/www/html/gaurav/venv/lib/python3.13/site-packages/structlog/_generic.pyÚ__getattr__ÚBoundLogger.__getattr__   s0   € ð ˜.Ó(Øä˜$×/Ñ/°Ó=ˆÜ� 7Ô+àˆó    c                ó   • U R                   $ )ú-
Our __getattr__ magic makes this necessary.
)Ú__dict__)r   s    r   Ú__getstate__ÚBoundLogger.__getstate__+   s   € ð �}‰}Ðr   c                óN   • UR                  5        H  u  p#[        XU5        M     g)r   N)Úitemsr   )r   ÚstateÚkÚvs       r   Ú__setstate__ÚBoundLogger.__setstate__1   s    € ð —K‘K–M‰DˆAÜ�D˜QÖò "r   © N)r   ÚstrÚreturnr   )r#   údict[str, Any])r   r$   r#   ÚNone)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   Ú__static_attributes__r!   r   r   r   r      s   † ñ
ô
ô÷ r   r   N)
r*   Ú
__future__r   Ú	functoolsr   Útypingr   Ústructlog._baser   r   r!   r   r   Ú<module>r0      s$   ðñõ #å Ý å +ô$ �/õ $ r   