From 32f1efdc99f397e21e42e53dd31ba6bbbb32611a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 27 Jun 2021 00:11:31 +0300 Subject: [PATCH] Update dup_filter_sink.h --- include/spdlog/sinks/dup_filter_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/dup_filter_sink.h b/include/spdlog/sinks/dup_filter_sink.h index 9010b929..14cabea2 100644 --- a/include/spdlog/sinks/dup_filter_sink.h +++ b/include/spdlog/sinks/dup_filter_sink.h @@ -64,7 +64,7 @@ protected: if (skip_counter_ > 0) { memory_buf_t buf; - fmt::format_to(std::back_inserter(buf), "Skipped {} duplicate messages..", skip_counter_); + fmt::format_to(std::back_inserter(buf), fmt::runtime("Skipped {} duplicate messages.."), skip_counter_); details::log_msg skipped_msg{msg.logger_name, level::info, string_view_t{buf.data(), buf.size()}}; dist_sink::sink_it_(skipped_msg); }