Skip to content

Commit

Permalink
bug: update format to vformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Exortions committed Dec 30, 2024
1 parent dac7c8c commit 5f50ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lemlog/logger/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>(args)...);
fmt::vformat(format, std::forward<Args>(args)...);

logger::log(level, m_topic, message);
}
Expand Down

0 comments on commit 5f50ec3

Please sign in to comment.