modifié: m/log.py

This commit is contained in:
sidya82 2014-03-03 14:21:31 +01:00
parent 947b441dd9
commit d3efa035bb
1 changed files with 4 additions and 4 deletions

View File

@ -37,13 +37,13 @@ class Log(object):
if pLvl == 10 :
pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC
elif pLvl == 20 :
sys.stdout.write(bcolors.INFO)
pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC
elif pLvl == 25 :
sys.stdout.write(bcolors.SUCCESS)
pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC
elif pLvl == 30 :
sys.stdout.write(bcolors.WARNING)
pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC
elif pLvl == 40 :
sys.stdout.write(bcolors.FAIL)
pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC
self.logger.log(pLvl,pMsg)