Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

log_level

Allows setting the Unit Test Framework log level in a range from 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] Note

Log levels are accumulating, in other words each log level includes also all the information reported by less restrictive ones.

Acceptable values

Table 5. Log levels

value

feature

all

report all log messages including the passed test notification

success

the same as all

test_suite

Shows test suite messages

message

Shows user messages

warning

Reports warnings issued by user

error (default)

Reports all error conditions

cpp_exception

Reports uncaught C++ exception

system_error

Reports system originated non-fatal errors. For example, timeout or floating point exception.

fatal_error

Reports only user or system originated fatal errors. For example, memory access violation.

nothing

Does not report any information.


Environment variable
BOOST_TEST_LOG_LEVEL

PrevUpHomeNext