File: //usr/lib/python3/dist-packages/landscape/lib/__pycache__/log.cpython-312.pyc
�
y)�]� � � � d dl mZ d dlZdd�Zy)� )�absolute_importNc �| � |�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)�
__future__r r r � r r �<module>r s �� &� �
Jr