We was missing the warning level
This commit is contained in:
parent
6ab3b3c07e
commit
ffbed76210
@ -39,6 +39,8 @@ class LogWriter:
|
|||||||
def write(self, level, msg):
|
def write(self, level, msg):
|
||||||
if level == logging.ERROR:
|
if level == logging.ERROR:
|
||||||
level_txt = 'ERROR'
|
level_txt = 'ERROR'
|
||||||
|
elif level == logging.WARNING:
|
||||||
|
level_txt = 'WARNING'
|
||||||
elif level == logging.DEBUG:
|
elif level == logging.DEBUG:
|
||||||
level_txt = 'DEBUG'
|
level_txt = 'DEBUG'
|
||||||
elif level == logging.INFO:
|
elif level == logging.INFO:
|
||||||
|
Loading…
Reference in New Issue
Block a user