Ensure message gets processed correctly
Make sure that we call the local log() function and not the adapted loggers log function to ensure that we pick up the adapters potentially existing extra values. Change-Id: I6cb027bab5c32bc4a24be683aec88f397c0cd707
This commit is contained in:
parent
14431bc076
commit
f1457a02ae
|
@ -41,7 +41,7 @@ class _BlatherLoggerAdapter(logging.LoggerAdapter):
|
|||
|
||||
def blather(self, msg, *args, **kwargs):
|
||||
"""Delegate a blather call to the underlying logger."""
|
||||
self.logger.log(BLATHER, msg, *args, **kwargs)
|
||||
self.log(BLATHER, msg, *args, **kwargs)
|
||||
|
||||
def warn(self, msg, *args, **kwargs):
|
||||
"""Delegate a warning call to the underlying logger."""
|
||||
|
|
Loading…
Reference in New Issue