Agora
1.2.0
Agora project
|
Go to the documentation of this file.
39 template<
typename Mutex>
43 template<
class Rep,
class Period>
67 auto msg_size = ::snprintf(buf,
sizeof(buf),
"Skipped %u duplicate messages..",
static_cast<unsigned>(
skip_counter_));
68 if (msg_size > 0 &&
static_cast<size_t>(msg_size) <
sizeof(buf))
Definition: dist_sink.h:23
dup_filter_sink(std::chrono::duration< Rep, Period > max_skip_duration)
Definition: dup_filter_sink.h:44
string_view_t payload
Definition: log_msg.h:30
size_t skip_counter_
Definition: dup_filter_sink.h:52
constexpr auto size() const -> size_t
Definition: core.h:495
@ info
Definition: common.h:215
log_clock::time_point last_msg_time_
Definition: dup_filter_sink.h:50
bool filter_(const details::log_msg &msg)
Definition: dup_filter_sink.h:83
std::string last_msg_payload_
Definition: dup_filter_sink.h:51
Definition: dup_filter_sink.h:40
string_view_t logger_name
Definition: log_msg.h:20
std::chrono::microseconds max_skip_duration_
Definition: dup_filter_sink.h:49
constexpr auto data() const -> const Char *
Definition: core.h:492
void sink_it_(const details::log_msg &msg) override
Definition: dist_sink.h:58
log_clock::time_point time
Definition: log_msg.h:22
void sink_it_(const details::log_msg &msg) override
Definition: dup_filter_sink.h:54