Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/distutils/log.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@s�dZdZdZdZdZdZddlZddd	��YZe�Zej	Z	ej
Z
ejZejZej
Z
ejZd
�Zd�ZdS(
s,A simple log mechanism styled after PEP 282.iiiiii�NtLogcBsSeZed�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(cCs
||_dS(N(t	threshold(tselfR((s#/sys/lib/python2.7/distutils/log.pyt__init__scCs�|tttttfkr4tdt|���n||jkr�|rV||}n|tttfkrwtj	}n	tj
}|jd|�|j�ndS(Ns%s wrong log levels%s
(
tDEBUGtINFOtWARNtERRORtFATALt
ValueErrortstrRtsyststderrtstdouttwritetflush(Rtleveltmsgtargststream((s#/sys/lib/python2.7/distutils/log.pyt_logs
	cGs|j|||�dS(N(R(RRRR((s#/sys/lib/python2.7/distutils/log.pytlog!scGs|jt||�dS(N(RR(RRR((s#/sys/lib/python2.7/distutils/log.pytdebug$scGs|jt||�dS(N(RR(RRR((s#/sys/lib/python2.7/distutils/log.pytinfo'scGs|jt||�dS(N(RR(RRR((s#/sys/lib/python2.7/distutils/log.pytwarn*scGs|jt||�dS(N(RR(RRR((s#/sys/lib/python2.7/distutils/log.pyterror-scGs|jt||�dS(N(RR(RRR((s#/sys/lib/python2.7/distutils/log.pytfatal0s(t__name__t
__module__RRRRRRRRR(((s#/sys/lib/python2.7/distutils/log.pyRs						cCstj}|t_|S(N(t_global_logR(Rtold((s#/sys/lib/python2.7/distutils/log.pyt
set_threshold;s		cCsO|dkrtt�n2|dkr2tt�n|dkrKtt�ndS(Niii(RRRR(tv((s#/sys/lib/python2.7/distutils/log.pyt
set_verbosityAs

((t__doc__RRRRRRRRRRRRRRRR!(((s#/sys/lib/python2.7/distutils/log.pyt<module>s %								

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].