17 #ifndef HH_SENF_Utils_Logger_Log_ 18 #define HH_SENF_Utils_Logger_Log_ 1 21 #include <boost/preprocessor/seq/size.hpp> 22 #include <boost/preprocessor/dec.hpp> 23 #include <boost/preprocessor/seq/elem.hpp> 24 #include <boost/preprocessor/seq/pop_back.hpp> 106 #define SENF_LOG(args) \ 107 SENF_LOG_BLOCK_( SENF_LOG_MERGE_PARAMETERS(BOOST_PP_SEQ_POP_BACK(args)), \ 108 { log << BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args); }) 116 #define SENF_LOG_TPL(args) \ 117 SENF_LOG_BLOCK_TPL_( SENF_LOG_MERGE_PARAMETERS_TPL(BOOST_PP_SEQ_POP_BACK(args)), \ 118 { log << BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args); }) 133 #define SENF_LOG_BLOCK(args) \ 134 SENF_LOG_BLOCK_( SENF_LOG_MERGE_PARAMETERS(BOOST_PP_SEQ_POP_BACK(args)), \ 135 BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args)) 143 #define SENF_LOG_BLOCK_TPL(args) \ 144 SENF_LOG_BLOCK_TPL_( SENF_LOG_MERGE_PARAMETERS_TPL(BOOST_PP_SEQ_POP_BACK(args)), \ 145 BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args)) Parameters public header.
StreamRegistry public header.
Definitions public header.
AreaRegistry public header.