fix __VA_ARGS__
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 1m10s
linux-x64-gcc / linux-gcc (push) Failing after 1m8s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Failing after 1m22s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Failing after 1m27s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 1m22s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m22s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Failing after 1m31s

This commit is contained in:
tqcq 2024-02-27 10:33:28 +08:00
parent 7f556f3f39
commit e2e8fa3e6d

View File

@ -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, \