We was missing the warning level

This commit is contained in:
Marco Pesenti Gritti
2006-10-24 20:15:41 +02:00
parent 6ab3b3c07e
commit ffbed76210
+2
View File
@@ -39,6 +39,8 @@ class LogWriter:
def write(self, level, msg):
if level == logging.ERROR:
level_txt = 'ERROR'
elif level == logging.WARNING:
level_txt = 'WARNING'
elif level == logging.DEBUG:
level_txt = 'DEBUG'
elif level == logging.INFO: