modifié: m/log.py

This commit is contained in:
sidya82 2014-03-03 13:36:44 +01:00
parent 4f06e1e53a
commit 838e6bd1c9

View File

@ -6,7 +6,7 @@ from datetime import datetime
class Log(object): class Log(object):
def __init__(self) : def __init__(self) :
logging.addLevelName(25, SUCCESS) logging.addLevelName(25, "SUCCESS"")
self.logger = log.getLogger() self.logger = log.getLogger()
self.logger.setLevel(logging.DEBUG) self.logger.setLevel(logging.DEBUG)