Main Page
Module List
Reference documentation
Namespaces
Classes
Examples
distro
c++_api
inc
opals
LogLevel.hpp
1
#ifndef OPALS_LOG_LEVEL_HPP_INCLUDED
2
#define OPALS_LOG_LEVEL_HPP_INCLUDED
3
4
#include <opals/config.hpp>
5
6
namespace
opals
7
{
8
/// Enumerator defining different importance levels of log records
9
namespace
LogLevel
10
{
11
enum
Type
12
{
13
none
,
///< Suppress all logging output.
14
error
,
///< Some failure that cannot be handled. Program execution is aborted.
15
warning
,
///< Some weird program state which can still be handled (e.g. 'poor matrix condition', 'poor data distribution')
16
info
,
///< Some progress that may be interesting in everyday-use
17
verbose
,
///< Something that may help in understanding normal program behaviour
18
debug
,
///< Anything that may help 'debugging' by means of a release-build
19
Count
///< number of elements
20
};
21
}
22
}
23
24
#endif