X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FLevels.hh;h=e390f44641582946f574c43ffc61ab47bb5870e4;hb=82e8df5de8b11448423388632e8602ad97bc7885;hp=f537fce8cb5e4b85abb2559ef7dfbf194dfc0cd2;hpb=067a3eb8b81aeac439116d1c556e16bdc05f54eb;p=senf.git diff --git a/Utils/Logger/Levels.hh b/Utils/Logger/Levels.hh index f537fce..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 @@ -108,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" }; }}