From 18e3f07f7d333d33c0ef8fbea02299dbe5d49f97 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 5 Nov 2020 18:27:31 +0200 Subject: [PATCH] Fix #1710 --- 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 8ee63e40..c9a08d68 100644 --- a/include/spdlog/sinks/dup_filter_sink.h +++ b/include/spdlog/sinks/dup_filter_sink.h @@ -64,7 +64,7 @@ protected: { memory_buf_t buf; fmt::format_to(buf, "Skipped {} duplicate messages..", skip_counter_); - details::log_msg skipped_msg{msg.logger_name, msg.level, string_view_t{buf.data(), buf.size()}}; + details::log_msg skipped_msg{msg.logger_name, level::info, string_view_t{buf.data(), buf.size()}}; dist_sink::sink_it_(skipped_msg); }