X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLevels.hh;h=5c39205f5701aa169182ee5926cccc2b86863d4d;hb=394ced7000128fef7e753caea1deda8d55dec8e2;hp=e390f44641582946f574c43ffc61ab47bb5870e4;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Logger/Levels.hh b/senf/Utils/Logger/Levels.hh index e390f44..5c39205 100644 --- a/senf/Utils/Logger/Levels.hh +++ b/senf/Utils/Logger/Levels.hh @@ -30,13 +30,13 @@ //#include "Levels.mpp" #include "Levels.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// 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.
@@ -73,8 +73,8 @@ namespace log { simpler to parse them if they are all of the same type. */ - ///\{ - + //\{ + /** \brief Log level %VERBOSE \see loglevels */ struct VERBOSE : public detail::LevelBase { static unsigned const value = 1; }; @@ -107,14 +107,14 @@ namespace log { \see loglevels */ struct NONE : public detail::LevelBase { static unsigned const value = 0; }; - ///\} - + //\} + static char const * const LEVELNAMES[8] = { "NONE", "VERBOSE", "NOTICE", "MESSAGE", "IMPORTANT", "CRITICAL", "FATAL", "DISABLED" }; }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Levels.cci" //#include "Levels.ct" //#include "Levels.cti"