...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Parameter log_sink allows to set the log sink - location where framework writes the testing log to, thus it allows to easily redirect the testing log to file or standard streams. By default testing log is directed to the standard output stream.
Case sensitive string:
Value |
Meaning |
---|---|
|
Testing log is redirected into standard output stream |
stderr |
Testing log is redirected into standard error stream |
File name (default for JUNIT) |
Testing log is redirected into this file |
Note | |
---|---|
For JUnit and if not specified, the log file is generated after the name of the master test suite. |
--log_sink=<stream
or file
name>
-k
<stream
or file
name>
BOOST_TEST_LOG_SINK