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/landscape/lib/__pycache__/log.cpython-312.pyc
�

y)�]��� �ddlmZddlZdd�Zy)�)�absolute_importNc�|�|�t}|j||j|j|jf��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_failurers1���~���
�L�L�����g�m�m�W�Z�Z�H�L�I�)NN)�
__future__rrr�rr�<module>rs��&��
Jr