1 // (C) Copyright Gennadiy Rozental 2001.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/test for the library home page.
9 //!@brief shared definition for unit test log levels
10 // ***************************************************************************
12 #ifndef BOOST_TEST_LOG_LEVEL_HPP_011605GER
13 #define BOOST_TEST_LOG_LEVEL_HPP_011605GER
15 #include <boost/test/detail/config.hpp>
20 // ************************************************************************** //
21 // ************** log levels ************** //
22 // ************************************************************************** //
24 // each log level includes all subsequent higher loging levels
25 enum BOOST_TEST_ENUM_SYMBOL_VISIBLE log_level {
26 invalid_log_level = -1,
27 log_successful_tests = 0,
31 log_all_errors = 4, // reported by unit test macros
32 log_cpp_exception_errors = 5, // uncaught C++ exceptions
33 log_system_errors = 6, // including timeouts, signals, traps
34 log_fatal_errors = 7, // including unit test macros or
35 // fatal system errors
39 } // namespace unit_test
42 #endif // BOOST_TEST_LOG_LEVEL_HPP_011605GER