diff --git a/src/ulib/log/log.h b/src/ulib/log/log.h index 82b7904..783d54d 100644 --- a/src/ulib/log/log.h +++ b/src/ulib/log/log.h @@ -17,7 +17,7 @@ namespace tqcq { do { \ std::string __fmt_str; \ try { \ - __fmt_str = fmt::format(fmt_str, ##__VA_ARGS); \ + __fmt_str = fmt::format(fmt_str, ##__VA_ARGS__); \ catch (const std::exception &e) { __fmt_str = e.what(); } \ tqcq::Logger::GetInstance().Log( \ level, __FILE__, __FUNCTION__, __LINE__, tag, \