...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
defines singleton class unit_test_log and all manipulators. unit_test_log has output stream like interface. It's implementation is completely hidden with pimple idiom
BOOST_TEST_LOG_ENTRY(ll) BOOST_TEST_FRAMEWORK_MESSAGE(M) BOOST_TEST_MESSAGE(M) BOOST_TEST_PASSPOINT() BOOST_TEST_CHECKPOINT(M)
namespace boost { namespace unit_test { class unit_test_log_t; namespace log { struct begin; struct end; } } }