diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 8e36b22c..67ea7d4f 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -182,7 +182,7 @@ public: template void log(source_loc loc, level::level_enum lvl, wformat_string_t fmt, Args &&... args) { - log_(loc, lvl, details::to_string_view(fmt), std::forward(args)...); + log_(loc, lvl, details::to_string_view(fmt.fmt()), std::forward(args)...); } template