Your IP : 216.73.216.52


Current Path : /usr/lib/python3/dist-packages/landscape/lib/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/landscape/lib/__pycache__/log.cpython-38.pyc

U

y)�]��@s"ddlmZddlZddd�ZdS)�)�absolute_importNcCs*|dkrt}|j||j|j|jfd�dS)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)Zfailure�msgZlogger�r
�3/usr/lib/python3/dist-packages/landscape/lib/log.py�log_failuresr)NN)Z
__future__rrrr
r
r
r�<module>s