HasLogMessage checks if the given test logger logs contain the given
message text. It is intended to be used in test cases to verify expected
log messages.
SetupRootLogger initializes a tflogtest root logger that writes to the given
bytes.Buffer .It returns a context bound to that logger and the buffer that
received the log output.