TPIE

2362a60
loglevel.h
Go to the documentation of this file.
1 // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*-
2 // vi:set ts=4 sts=4 sw=4 noet :
3 // Copyright 2011, The TPIE development team
4 //
5 // This file is part of TPIE.
6 //
7 // TPIE is free software: you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License as published by the
9 // Free Software Foundation, either version 3 of the License, or (at your
10 // option) any later version.
11 //
12 // TPIE is distributed in the hope that it will be useful, but WITHOUT ANY
13 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public License
18 // along with TPIE. If not, see <http://www.gnu.org/licenses/>
19 #ifndef TPIE_LOGPRIORITY_H
20 #define TPIE_LOGPRIORITY_H
21 
26 
27 #include <tpie/config.h>
28 namespace tpie {
29 
33 enum log_level {
37  LOG_FATAL = 0,
38 
41 
44 
47 
51 
55 
58 
61  LOG_USER2,
62  LOG_USER3
63 };
64 
65 } //namespace tpie
66 
67 #endif //TPIE_LOGPRIORITY_H
Logging level for warnings concerning memory allocation and deallocation.
Definition: loglevel.h:57
LOG_FATAL is the highest error level and is used for all kinds of errors that would normally impair s...
Definition: loglevel.h:37
LOG_ERROR is used for none fatal errors.
Definition: loglevel.h:40
LOG_WARNING is used for warnings.
Definition: loglevel.h:43
LOG_INFORMATIONAL is used for informational messagse.
Definition: loglevel.h:46
log_level
TPIE logging levels, from higest priority to lowest.
Definition: loglevel.h:33
Logging levels to be further defined by user applications.
Definition: loglevel.h:60
LOG_DEBUG is the lowest level and is used by the TPIE library for logging debugging information...
Definition: loglevel.h:54
LOG_APP_DEBUG can be used by applications built on top of TPIE, for logging debugging information...
Definition: loglevel.h:50