rad 6.2.0
Loading...
Searching...
No Matches
Functions
gtLogCap.cpp File Reference

A variant of google test main() that captures LOG4CPLUS logs during test execution and only prints the logs if the test fail. More...

#include <stdlib.h>
#include <dlfcn.h>
#include <mutex>
#include <sstream>
#include <gtest/gtest.h>
#include <log4cplus/initializer.h>
#include <log4cplus/appender.h>
#include <log4cplus/configurator.h>
#include <log4cplus/consoleappender.h>
#include <log4cplus/logger.h>
#include <log4cplus/spi/factory.h>
#include <log4cplus/hierarchy.h>

Functions

int main (int argc, char **argv)
 

Detailed Description

A variant of google test main() that captures LOG4CPLUS logs during test execution and only prints the logs if the test fail.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )