From 556f45fcbf6f5260f4e11cc34bcddfcc7f1ef9f6 Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Tue, 4 Aug 2015 10:24:31 -0400 Subject: [PATCH] Add missing ddump() macro --- include/fc/log/logger.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/fc/log/logger.hpp b/include/fc/log/logger.hpp index 9005d75..8c1020d 100644 --- a/include/fc/log/logger.hpp +++ b/include/fc/log/logger.hpp @@ -155,6 +155,8 @@ namespace fc #define FC_FORMAT_ARG_PARAMS( ... )\ BOOST_PP_SEQ_FOR_EACH( FC_FORMAT_ARGS, v, __VA_ARGS__ ) +#define ddump( SEQ ) \ + dlog( FC_FORMAT(SEQ), FC_FORMAT_ARG_PARAMS(SEQ) ) #define idump( SEQ ) \ ilog( FC_FORMAT(SEQ), FC_FORMAT_ARG_PARAMS(SEQ) ) #define wdump( SEQ ) \ @@ -176,4 +178,4 @@ namespace fc # define ilog(...) FC_MULTILINE_MACRO_BEGIN FC_MULTILINE_MACRO_END # undef dlog # define dlog(...) FC_MULTILINE_MACRO_BEGIN FC_MULTILINE_MACRO_END -#endif \ No newline at end of file +#endif