X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLog.hh;h=00f192cf2293dbe3796f865616596a52a6a3114c;hb=4101c2b818ec67e7469ebb44f030eed2185c4ab0;hp=da88f1ddcbcd30f18a8c98341f83776adeab71a3;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Logger/Log.hh b/senf/Utils/Logger/Log.hh index da88f1d..00f192c 100644 --- a/senf/Utils/Logger/Log.hh +++ b/senf/Utils/Logger/Log.hh @@ -35,26 +35,26 @@ //#include "Log.mpp" #include "Log.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup logging Logging commands The logging library provides several commands to create %log messages. All these macro commands take a variable number of arguments. Since this is not supported in a usable way by the C++ preprocessor, the arguments are encoded into a Boost.Preprocessor like - sequence: + href="http://www.boost.org/doc/libs/release/libs/preprocessor/doc/index.html">Boost.Preprocessor + like sequence: \code SENF_LOG( (senf::log::Debug)(senf::log::NOTICE)(FroblizerArea)("The log message") ); \endcode - The argument is comprised of a sequence of parameters and the %log message itself. + The argument is comprised of a sequence of parameters and the %log message itself. The parameters are - the %log stream, - the %log area, - the %log level. - + These parameters are optional and may be specified in arbitrary order (with the %log message always being the last sequence element) and even multiple times in the parameter sequence. If some argument type occurs multiple times, the last occurrence wins. If any one of @@ -71,7 +71,7 @@ The %log level senf::log::NONE is special. If the %log level is set to this value, the %log level will be set from the stream provided default value. - + All these parameters must be compile time constants (they are all types, so it's difficult for them to be something else). @@ -93,10 +93,10 @@ */ ///\addtogroup logging -///\{ +//\{ ///\name Generating log messages -///\{ +//\{ /** \brief Write log message @@ -150,10 +150,10 @@ SENF_LOG_BLOCK_TPL_( SENF_LOG_MERGE_PARAMETERS_TPL(BOOST_PP_SEQ_POP_BACK(args)), \ BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args)) -///\} -///\} +//\} +//\} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Log.cci" //#include "Log.ct" //#include "Log.cti"