, create a test application using something like
but with custom logger, see
for how to configure logger. Create a custom Logger implementation that would track logged events, like in
. Each test would issue calls into an application and check the resulting log records. Tests should include unhandled calls, failed calls, success calls, etc.