Boost.Test > Components > The Unit Test Framework > > Parameters > The log level
Boost Test logo

The 'log level' parameter

Parameter Name: The unit test framework log level
Environment variable name: BOOST_TEST_LOG_LEVEL
Command line argument name: log_level
Acceptable Values:
all - report all log messages including the passed test notification
success - the same as all
test_suite - show test suite messages
messages - show user messages
warnings - report warnings issued by user
all_errors - report all error conditions
cpp_exception - report uncaught c++ exception
system_errors - report system originated non-fatal errors (for example, timeout or floating point exception)
fatal_errors - report only user or system originated fatal errors (for example, memory access violation)
progress - report only progress information: number of run test cases vs. overall number of test cases
nothing - does not report any information
Description: allows to set the unit test framework log level in a range of a complete log, when all successful tests are confirmed and all test suite messages are included, to an empty log when nothing is logged a test output stream. Note that log levels are accumulating, in other words each log level includes also all the information reported by less restrictive ones.