src/common.h
@@ -17,17 +17,20 @@ namespace nng_wrap { static thread_local std::string verbose_info{}; #define TAG #define PRNTVITAG(args) /* #ifndef PRNTVITAG static thread_local std::string verbose_info{}; #define TAG do{ verbose_info.clear(); \ verbose_info=string("function [")+__FUNCTION__+string("]"); \ }while(0) #define PRNTVITAG(msg) do{ \ verbose_info+=string("-> (") + msg + string(")"); \ }while(0) // #define TAG // #define PRNTVITAG(args) #endif */ ///////////////////////////////////////////////// enum{