Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Logging API
PrevUpHomeNext

While many test log configuration tasks can be performed at runtime using predefined framework parameters, the Unit Test Framework provides a compile time interface as well. The interface gives you full power over what, where and how to log. The interface of the logger is provided by singleton class boost::unit_test::unit_test_log_t and is accessible through local file scope reference to single instance of this class

boost::unit_test::unit_test_log

In order to install customization of the logger, the Unit Test Framework provides the BOOST_TEST_GLOBAL_CONFIGURATION facility that acts in a similar fashion to a global fixture.


PrevUpHomeNext