Have a way to set up the detection of a specific log message that will immediately fail the test if the log message is generated.