Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Compile time configuration

Log output stream redirection
Log level configuration
Predefined log format selection
Custom log format support

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 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

PrevUpHomeNext