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

This is the documentation for a snapshot of the master branch, built from commit fa33539dff.
PrevUpHomeNext

log_sink

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.

Acceptable values

Case sensitive string:

Value

Meaning

stdout (default for HRF and XML)

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

For JUnit and if not specified, the log file is generated after the name of the master test suite.

Command line syntax
Environment variable
BOOST_TEST_LOG_SINK

PrevUpHomeNext