X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FLevels.hh;h=e390f44641582946f574c43ffc61ab47bb5870e4;hb=61dc3812717cdc89fa2402006d4009236b72dc8f;hp=1a10285c025b990a57653264b997e94d4ad9fe98;hpb=29825d5db542bd3a6769101abe40a8ed86409613;p=senf.git diff --git a/Utils/Logger/Levels.hh b/Utils/Logger/Levels.hh index 1a10285..e390f44 100644 --- a/Utils/Logger/Levels.hh +++ b/Utils/Logger/Levels.hh @@ -23,8 +23,8 @@ /** \file \brief Levels public header */ -#ifndef HH_Levels_ -#define HH_Levels_ 1 +#ifndef HH_SENF_Utils_Logger_Levels_ +#define HH_SENF_Utils_Logger_Levels_ 1 // Custom includes @@ -41,7 +41,8 @@ namespace log {
VERBOSE
Really verbose %log messages. Messages at this level are used for internal debugging. They should be enabled only selectively within the areas currently under - inspection.
+ inspection. The default %log stream senf::log::Debug has these messages disabled at + compile time by default. To enable them, see \ref config.
NOTICE
Arbitrary unimportant notice. Message which normally should be disabled but might be informative to better understand the programs operation.
@@ -107,6 +108,9 @@ 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" }; }}