X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLevels.hh;h=35b58bd879fd9f710bad011665f03cf2a233f5d7;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=e390f44641582946f574c43ffc61ab47bb5870e4;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Logger/Levels.hh b/senf/Utils/Logger/Levels.hh index e390f44..35b58bd 100644 --- a/senf/Utils/Logger/Levels.hh +++ b/senf/Utils/Logger/Levels.hh @@ -36,7 +36,7 @@ namespace senf { namespace log { /** \defgroup loglevels Log levels - + These are the valid %log levels with some additional special values:
VERBOSE
Really verbose %log messages. Messages at this level are used for @@ -54,13 +54,13 @@ namespace log {
CRITICAL
Error condition which does not terminate the program completely but has non-reversible adverse effects
- +
FATAL
Error condition which does terminate program execution or enforces a restart or some kind of re-initialization with loss of state and context.
There are also some special values which must not be used as a %log level: - -
DISABLED
Disable all %log messages.
+ +
DISABLED
Disable all %log messages.
NONE
Special value which signifies inheritance of the default %log level.
@@ -74,7 +74,7 @@ namespace log { */ ///\{ - + /** \brief Log level %VERBOSE \see loglevels */ struct VERBOSE : public detail::LevelBase { static unsigned const value = 1; }; @@ -108,7 +108,7 @@ namespace log { struct NONE : public detail::LevelBase { static unsigned const value = 0; }; ///\} - + static char const * const LEVELNAMES[8] = { "NONE", "VERBOSE", "NOTICE", "MESSAGE", "IMPORTANT", "CRITICAL", "FATAL", "DISABLED" };