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:
Joshua Harlow 2014-12-10 18:58:42 -08:00
parent 14431bc076
commit f1457a02ae
1 changed files with 1 additions and 1 deletions

View File

@ -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."""