
19 Sep
2014
19 Sep
'14
7:02 a.m.
Hi, I need to integrate some loggin into my unit to some extend bein integration tests (hardware). How best to call this function which sets up boost logging void init() { boost::log::add_file_log("sample.log"); boost::log::core::get()->set_filter ( boost::log::trivial::severity >= boost::log::trivial::info ); } if I have a test Runner looking like: #define BOOST_TEST_MODULE MasterTestSuite #include <boost/test/unit_test.hpp> Is there a way not have to add the suites manually Thanks. -- Witold Eryk Wolski