-
Committer:
John L. Villalovos
-
Date:
2015-10-08 00:58:43 UTC
-
Revision ID:
git-v1:67dd2956943261e845a866dab155208c51da937e
FakeLogger: Mis-formatted log messages will raise Exception
When using the FakeLogger, have mis-formatted logging messages raise an
exception.
Normally when using the logging module, mis-formatted logging messages
will not raise an exception. Instead the exception will be printed but
not raised.
Change this behavior so that mis-formatted log messages can be caught
during unit-testing.
Closes-Bug: #1503049
Change-Id: I8d3e94d131289300ae020eb1d63306489e986335