source: NonGTP/Boost/boost/test/detail/log_level.hpp @ 857

Revision 857, 2.3 KB checked in by igarcia, 19 years ago (diff)
RevLine 
[857]1//  (C) Copyright Gennadiy Rozental 2005.
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        : $RCSfile: log_level.hpp,v $
9//
10//  Version     : $Revision: 1.2 $
11//
12//  Description : shared definition for unit test log levels
13// ***************************************************************************
14
15#ifndef BOOST_TEST_LOG_LEVEL_HPP_011605GER
16#define BOOST_TEST_LOG_LEVEL_HPP_011605GER
17
18namespace boost {
19namespace unit_test {
20
21// ************************************************************************** //
22// **************                   log levels                 ************** //
23// ************************************************************************** //
24
25//  each log level includes all subsequent higher loging levels
26enum            log_level {
27    invalid_log_level        = -1,
28    log_successful_tests     = 0,
29    log_test_suites          = 1,
30    log_messages             = 2,
31    log_warnings             = 3,
32    log_all_errors           = 4, // reported by unit test macros
33    log_cpp_exception_errors = 5, // uncaught C++ exceptions
34    log_system_errors        = 6, // including timeouts, signals, traps
35    log_fatal_errors         = 7, // including unit test macros or
36                                  // fatal system errors
37    log_nothing              = 8
38};
39
40} // namespace unit_test
41} // namespace boost
42
43// ***************************************************************************
44//  Revision History :
45// 
46//  $Log: log_level.hpp,v $
47//  Revision 1.2  2005/02/20 08:27:06  rogeeff
48//  This a major update for Boost.Test framework. See release docs for complete list of fixes/updates
49//
50//  Revision 1.1  2005/01/18 08:27:30  rogeeff
51//  unit_test_log rework:
52//     eliminated need for ::instance()
53//     eliminated need for << end and ...END macro
54//     straitend interface between log and formatters
55//     change compiler like formatter name
56//     minimized unit_test_log interface and reworked to use explicit calls
57//
58// ***************************************************************************
59
60#endif // BOOST_TEST_LOG_LEVEL_HPP_011605GER
Note: See TracBrowser for help on using the repository browser.