Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:09:49

0001 //  (C) Copyright Gennadiy Rozental 2001.
0002 //  Distributed under the Boost Software License, Version 1.0.
0003 //  (See accompanying file LICENSE_1_0.txt or copy at
0004 //  http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 //  See http://www.boost.org/libs/test for the library home page.
0007 //
0008 //!@file
0009 //!@brief shared definition for unit test log levels
0010 // ***************************************************************************
0011 
0012 #ifndef BOOST_TEST_LOG_LEVEL_HPP_011605GER
0013 #define BOOST_TEST_LOG_LEVEL_HPP_011605GER
0014 
0015 #include <boost/test/detail/config.hpp>
0016 
0017 namespace boost {
0018 namespace unit_test {
0019 
0020 // ************************************************************************** //
0021 // **************                   log levels                 ************** //
0022 // ************************************************************************** //
0023 
0024 //  each log level includes all subsequent higher loging levels
0025 enum BOOST_TEST_ENUM_SYMBOL_VISIBLE log_level {
0026     invalid_log_level        = -1,
0027     log_successful_tests     = 0,
0028     log_test_units           = 1,
0029     log_messages             = 2,
0030     log_warnings             = 3,
0031     log_all_errors           = 4, // reported by unit test macros
0032     log_cpp_exception_errors = 5, // uncaught C++ exceptions
0033     log_system_errors        = 6, // including timeouts, signals, traps
0034     log_fatal_errors         = 7, // including unit test macros or
0035                                   // fatal system errors
0036     log_nothing              = 8
0037 };
0038 
0039 } // namespace unit_test
0040 } // namespace boost
0041 
0042 #endif // BOOST_TEST_LOG_LEVEL_HPP_011605GER