27 template<
typename Mutex>
47 void set_sinks(std::vector<std::shared_ptr<sink>> sinks)
76 set_formatter_(details::make_unique<spdlog::pattern_formatter>(pattern));
79 void set_formatter_(std::unique_ptr<spdlog::formatter> sink_formatter)
override 87 std::vector<std::shared_ptr<sink>>
sinks_;
bool should_log(level::level_enum msg_level) const
void set_formatter_(std::unique_ptr< spdlog::formatter > sink_formatter) override
dist_sink & operator=(const dist_sink &)=delete
int remove(const filename_t &filename) noexcept
virtual void log(const details::log_msg &msg)=0
void add_sink(std::shared_ptr< sink > sink)
void sink_it_(const details::log_msg &msg) override
void remove_sink(std::shared_ptr< sink > sink)
void set_pattern_(const std::string &pattern) override
std::vector< std::shared_ptr< sink > > sinks_
void set_sinks(std::vector< std::shared_ptr< sink >> sinks)
virtual void set_formatter(std::unique_ptr< spdlog::formatter > sink_formatter)=0