Your IP : 18.223.209.114


Current Path : /usr/lib/python3.6/site-packages/tuned/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/tuned/__pycache__/exceptions.cpython-36.opt-1.pyc

3

�<�e8�@s6ddlZddlZddlZejj�ZGdd�de�ZdS)�Nc@s"eZdZdZddd�Zdd�ZdS)�TunedExceptionz
	NcCs(|dkrt}|jt|��|j|�dS)N)�exception_logger�error�str�
_log_trace)�self�logger�r	� /usr/lib/python3.6/exceptions.py�logszTunedException.logcCsHtj�\}}}||kr"|jd�n"djtj|||��j�}|j|�dS)Nz"stack trace is no longer available�)�sys�exc_info�debug�join�	traceback�format_exception�rstrip)rr�exc_type�	exc_value�
exc_tracebackZexception_infor	r	r
rs
zTunedException._log_trace)N)�__name__�
__module__�__qualname__�__doc__rrr	r	r	r
rs
r)	Z
tuned.logsZtunedr
rZlogs�getr�	Exceptionrr	r	r	r
�<module>s


?>