X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FLevels.hh;h=76168437f867e98946ea736241f710aac107fb1c;hb=61419d9a2e1060f7ede22fa19fd9d0b401bbc87a;hp=35aa048a6f62a4a6f97b45baa6ae2a2d58ffe56d;hpb=b52002fa2001e6472d6aa3dde263b85f654c6e8e;p=senf.git diff --git a/Utils/Logger/Levels.hh b/Utils/Logger/Levels.hh index 35aa048..7616843 100644 --- a/Utils/Logger/Levels.hh +++ b/Utils/Logger/Levels.hh @@ -35,7 +35,7 @@ namespace senf { namespace log { - /** \brief Log levels + /** \defgroup loglevels Log levels These are the valid log levels with some additional special values: @@ -44,15 +44,39 @@ namespace log { \c NONE is used to in some special places to inherit the default log level. */ + ///\ingroup loglevels + ///\{ + + /** \brief Log level VERBOSE + \see loglevels */ struct VERBOSE : public detail::LevelBase { static unsigned const value = 1; }; + + /** \brief Log level NOTICE + \see loglevels */ struct NOTICE : public detail::LevelBase { static unsigned const value = 2; }; + + /** \brief Log level MESSAGE + \see loglevels */ struct MESSAGE : public detail::LevelBase { static unsigned const value = 3; }; + + /** \brief Log level IMPORTANT + \see loglevels */ struct IMPORTANT : public detail::LevelBase { static unsigned const value = 4; }; + + /** \brief Log level CRITICAL + \see loglevels */ struct CRITICAL : public detail::LevelBase { static unsigned const value = 5; }; + /** \brief Disable logging + \see loglevels */ struct DISABLED : public detail::LevelBase { static unsigned const value = 6; }; + + /** \brief Inherit log level + \see loglevels */ struct NONE : public detail::LevelBase { static unsigned const value = 0; }; + ///\} + }} ///////////////////////////////hh.e////////////////////////////////////////