ó q”þfc@s˜dZdZdZdZdZdZddlZdd d „ƒYZeƒZej Z ej Z ej Z ej 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%/usr/lib64/python2.7/distutils/log.pyt__init__scCs¢|tttttfkr4tdt|ƒƒ‚n||jkrž|rV||}n|tttfkrwtj }n tj }|j d|ƒ|j ƒndS(Ns%s wrong log levels%s ( tDEBUGtINFOtWARNtERRORtFATALt ValueErrortstrRtsyststderrtstdouttwritetflush(Rtleveltmsgtargststream((s%/usr/lib64/python2.7/distutils/log.pyt_logs   cGs|j|||ƒdS(N(R(RRRR((s%/usr/lib64/python2.7/distutils/log.pytlog!scGs|jt||ƒdS(N(RR(RRR((s%/usr/lib64/python2.7/distutils/log.pytdebug$scGs|jt||ƒdS(N(RR(RRR((s%/usr/lib64/python2.7/distutils/log.pytinfo'scGs|jt||ƒdS(N(RR(RRR((s%/usr/lib64/python2.7/distutils/log.pytwarn*scGs|jt||ƒdS(N(RR(RRR((s%/usr/lib64/python2.7/distutils/log.pyterror-scGs|jt||ƒdS(N(RR(RRR((s%/usr/lib64/python2.7/distutils/log.pytfatal0s( t__name__t __module__RRRRRRRRR(((s%/usr/lib64/python2.7/distutils/log.pyRs       cCstj}|t_|S(N(t _global_logR(Rtold((s%/usr/lib64/python2.7/distutils/log.pyt set_threshold;s  cCsO|dkrttƒn2|dkr2ttƒn|dkrKttƒndS(Niii(RRRR(tv((s%/usr/lib64/python2.7/distutils/log.pyt set_verbosityAs      ((t__doc__RRRRRR RRRRRRRRRR!(((s%/usr/lib64/python2.7/distutils/log.pyts  %