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

log_sink
PrevUpHomeNext

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)

Testing log is redirected into standard output stream

stderr

Testing log is redirected into standard error stream

File name

Testing log is redirected into this file

Command line syntax
  • --log_sink=<stream or file name>
  • -k <stream or file name>
Environment variable
BOOST_TEST_LOG_SINK

PrevUpHomeNext