Update dup_filter_sink.h

This commit is contained in:
Gabi Melman 2021-06-27 00:11:31 +03:00 committed by GitHub
parent bcc9f03457
commit 32f1efdc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<Mutex>::sink_it_(skipped_msg);
}