Current File : //usr/lib/python3/dist-packages/landscape/lib/__pycache__/log.cpython-312.pyc |
�
�~�e� � � � d dl Z dd�Zy)� Nc �| � |�t }|j || j | j | j f�� y)z�Log a L{twisted.python.failure.Failure} to the Python L{logging} module.
The failure should be formatted as a regular exception, but a traceback may
not be available.
If C{msg} is passed, it will included before the traceback.
N)�exc_info)�logging�error�type�value�tb)�failure�msg�loggers �3/usr/lib/python3/dist-packages/landscape/lib/log.py�log_failurer s1 � � �~���
�L�L�����g�m�m�W�Z�Z�H�L�I� )NN)r r � r r
�<module>r s �� �
Jr