From 5f50ec3464c382413c609fd5b2ec12210a3bff17 Mon Sep 17 00:00:00 2001 From: Exortions Date: Sun, 29 Dec 2024 19:03:32 -0800 Subject: [PATCH] bug: update format to vformat --- include/lemlog/logger/logger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lemlog/logger/logger.hpp b/include/lemlog/logger/logger.hpp index 85b855b..1ccbfc2 100644 --- a/include/lemlog/logger/logger.hpp +++ b/include/lemlog/logger/logger.hpp @@ -146,7 +146,7 @@ class Helper { void log(Level level, const std::string& format, Args&&... args) { // format the message into a string using the provided arguments std::string message = - fmt::format(format, std::forward(args)...); + fmt::vformat(format, std::forward(args)...); logger::log(level, m_topic, message); }