43 const std::function<
void()>& worker_warmup_cb =
nullptr,
44 const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(),
45 const std::function<
void()>& worker_teardown_cb =
nullptr);
51 const std::function<
void()>& worker_warmup_cb =
nullptr,
52 const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(),
53 const std::function<
void()>& worker_teardown_cb =
nullptr);
59 const std::function<
void()>& worker_warmup_cb =
nullptr,
60 const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(),
61 const std::function<
void()>& worker_teardown_cb =
nullptr);
65 void flush()
override;
std::unique_ptr< details::async_log_helper > _async_log_helper
std::shared_ptr< spdlog::formatter > formatter_ptr
std::shared_ptr< sinks::sink > sink_ptr
OStream< ChannelType > & flush(OStream< ChannelType > &os)
void set_error_handler(log_err_handler)
std::initializer_list< sink_ptr > sinks_init_list
std::function< void(const std::string &err_msg)> log_err_handler