hook_handler should be catching TRACE logging
This commit is contained in:
parent
aa2511baaa
commit
a1b8a4033a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue