hook_handler should be catching TRACE logging

This commit is contained in:
jesopo 2019-10-17 17:49:49 +01:00
parent aa2511baaa
commit a1b8a4033a

View file

@ -44,7 +44,7 @@ class Log(object):
self.logger.addHandler(stdout_handler) self.logger.addHandler(stdout_handler)
hook_handler = HookedHandler(self._on_log) hook_handler = HookedHandler(self._on_log)
hook_handler.setLevel(LEVELS["debug"]) hook_handler.setLevel(LEVELS["trace"])
hook_handler.setFormatter(formatter) hook_handler.setFormatter(formatter)
self.logger.addHandler(hook_handler) self.logger.addHandler(hook_handler)