X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FLog.hh;h=da88f1ddcbcd30f18a8c98341f83776adeab71a3;hb=7f60122e00a4680d39b199a738160eb8a5dea381;hp=8a591dc273bb685329ea64d9facb2bc97d3e3450;hpb=91b6e8382ce61c2d1286203e41d030ef8cd33f3e;p=senf.git diff --git a/Utils/Logger/Log.hh b/Utils/Logger/Log.hh index 8a591dc..da88f1d 100644 --- a/Utils/Logger/Log.hh +++ b/Utils/Logger/Log.hh @@ -23,8 +23,8 @@ /** \file \brief Log public header */ -#ifndef HH_Log_ -#define HH_Log_ 1 +#ifndef HH_SENF_Utils_Logger_Log_ +#define HH_SENF_Utils_Logger_Log_ 1 // Custom includes #include @@ -80,7 +80,7 @@ To further simplify logging commands, aliases may be defined within any scope. An alias is an arbitrary collection of %log parameters: \code - SENF_LOG_DEF_ALIAS( VerboseDebug, (senf::log::Debug)(senf::log::VERBOSE) ); + SENF_LOG_DEFINE_ALIAS( VerboseDebug, (senf::log::Debug)(senf::log::VERBOSE) ); \endcode Within %log statements, aliases may be used like normal parameters. They will be substituted for the parameter sequence they represent: @@ -120,8 +120,8 @@ \hideinitializer */ #define SENF_LOG_TPL(args) \ - SENF_LOG_BLOCK_( SENF_LOG_MERGE_PARAMETERS_TPL(BOOST_PP_SEQ_POP_BACK(args)), \ - { log << BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args); }) + SENF_LOG_BLOCK_TPL_( SENF_LOG_MERGE_PARAMETERS_TPL(BOOST_PP_SEQ_POP_BACK(args)), \ + { log << BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args); }) /** \brief Enable block based on logging parameters