Test class for testing things that emit log entries.
LogContentTest()
Initializes the logger setup for using in checking log statements.
bool verbose_
controls whether the checkFile() should print more details.
bool checkFile()
check that the requested strings are in the test log file in the requested order.
static const char * KEA_LOG_CHECK_VERBOSE
virtual ~LogContentTest()
void logCheckVerbose(bool talk_a_lot)
Enables or disables verbose mode.
vector< string > exp_strings_
static const char * LOG_FILE
size_t countFile(const string &exp_string)
check that the requested string is in the test log file.
void addString(const string &new_string)
Add a string to the vector of expected strings.