mò ñ/.Dc@s•dZdZdZdZdZdZdkZdfd„ƒYZeƒZei Z ei Z ei Z ei Z ei Z eiZd „Zd „ZdS( s,A simple log mechanism styled after PEP 282.iiiiiNtLogcBsStZed„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( NcCs ||_dS(N(t thresholdtself(RR((t3/mirror/zmath/src/Python-2.4.4/Lib/distutils/log.pyt__init__scCs>||ijo*|p |GHn ||GHtiiƒndS(N(tlevelRRtargstmsgtsyststdouttflush(RRRR((Rt_logs   cGs|i|||ƒdS(N(RR RRR(RRRR((RtlogscGs|it||ƒdS(N(RR tDEBUGRR(RRR((Rtdebug"scGs|it||ƒdS(N(RR tINFORR(RRR((Rtinfo%scGs|it||ƒdS(N(RR tWARNRR(RRR((Rtwarn(scGs|it||ƒdS(N(RR tERRORRR(RRR((Rterror+scGs|it||ƒdS(N(RR tFATALRR(RRR((Rtfatal.s( t__name__t __module__RRR R RRRRR(((RRs      cCsti}|t_|S(N(t _global_logRtoldR(RR((Rt set_threshold9s  cCsU|djottƒn7|djottƒn|djottƒndS(Niii(tvRRRR (R((Rt set_verbosity?s    (t__doc__R RRRRRRRR RRRRRRR(RRRRRRRRRRRRR RRR ((Rt?s  !