Chris@16: // (C) Copyright Gennadiy Rozental 2005-2008. Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See http://www.boost.org/libs/test for the library home page. Chris@16: // Chris@16: // File : $RCSfile$ Chris@16: // Chris@101: // Version : $Revision$ Chris@16: // Chris@16: // Description : shared definition for unit test log levels Chris@16: // *************************************************************************** Chris@16: Chris@16: #ifndef BOOST_TEST_LOG_LEVEL_HPP_011605GER Chris@16: #define BOOST_TEST_LOG_LEVEL_HPP_011605GER Chris@16: Chris@16: namespace boost { Chris@16: namespace unit_test { Chris@16: Chris@16: // ************************************************************************** // Chris@16: // ************** log levels ************** // Chris@16: // ************************************************************************** // Chris@16: Chris@16: // each log level includes all subsequent higher loging levels Chris@16: enum log_level { Chris@16: invalid_log_level = -1, Chris@16: log_successful_tests = 0, Chris@16: log_test_units = 1, Chris@16: log_messages = 2, Chris@16: log_warnings = 3, Chris@16: log_all_errors = 4, // reported by unit test macros Chris@16: log_cpp_exception_errors = 5, // uncaught C++ exceptions Chris@16: log_system_errors = 6, // including timeouts, signals, traps Chris@16: log_fatal_errors = 7, // including unit test macros or Chris@16: // fatal system errors Chris@16: log_nothing = 8 Chris@16: }; Chris@16: Chris@16: } // namespace unit_test Chris@16: } // namespace boost Chris@16: Chris@16: #endif // BOOST_TEST_LOG_LEVEL_HPP_011605GER