��Qc@s�dZdZdZdZdZdZddlZddd ��YZe�Zej Z ej
Z
ejZejZej
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@/usr/jas/src/cmd/cpython/dist/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@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pyt_logs
cGs|j|||�dS(N(R(RRRR((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pytlog!scGs|jt||�dS(N(RR(RRR((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pytdebug$scGs|jt||�dS(N(RR(RRR((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pytinfo'scGs|jt||�dS(N(RR(RRR((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pytwarn*scGs|jt||�dS(N(RR(RRR((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pyterror-scGs|jt||�dS(N(RR(RRR((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pytfatal0s(t__name__t
__module__RRRRRRRRR(((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pyRs cCstj}|t_|S(N(t_global_logR(Rtold((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pyt
set_threshold;s cCsO|dkrtt�n2|dkr2tt�n|dkrKtt�ndS(Niii(RRRR(tv((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pyt
set_verbosityAs
((t__doc__RRRRRRRRRRRRRRRR!(((s@/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/log.pyt<module>s %
|