1 // (C) Copyright Gennadiy Rozental 2005-2014. 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) 5 6 // See http://www.boost.org/libs/test for the library home page. 7 // 8 //!@file 9 //!@brief shared definition for unit test log levels 10 // *************************************************************************** 11 12 #ifndef BOOST_TEST_LOG_LEVEL_HPP_011605GER 13 #define BOOST_TEST_LOG_LEVEL_HPP_011605GER 14 15 namespace boost { 16 namespace unit_test { 17 18 // ************************************************************************** // 19 // ************** log levels ************** // 20 // ************************************************************************** // 21 22 // each log level includes all subsequent higher loging levels 23 enum log_level { 24 invalid_log_level = -1, 25 log_successful_tests = 0, 26 log_test_units = 1, 27 log_messages = 2, 28 log_warnings = 3, 29 log_all_errors = 4, // reported by unit test macros 30 log_cpp_exception_errors = 5, // uncaught C++ exceptions 31 log_system_errors = 6, // including timeouts, signals, traps 32 log_fatal_errors = 7, // including unit test macros or 33 // fatal system errors 34 log_nothing = 8 35 }; 36 37 } // namespace unit_test 38 } // namespace boost 39 40 #endif // BOOST_TEST_LOG_LEVEL_HPP_011605GER 41