Agora
1.2.0
Agora project
|
Go to the documentation of this file.
19 template<
typename Mutex>
42 template<
typename Factory = spdlog::synchronous_factory>
46 return Factory::template create<sinks::basic_file_sink_mt>(logger_name,
filename, truncate, event_handlers);
49 template<
typename Factory = spdlog::synchronous_factory>
53 return Factory::template create<sinks::basic_file_sink_st>(logger_name,
filename, truncate, event_handlers);
58 #ifdef SPDLOG_HEADER_ONLY
void sink_it_(const details::log_msg &msg) override
Definition: basic_file_sink-inl.h:30
std::shared_ptr< logger > basic_logger_st(const std::string &logger_name, const filename_t &filename, bool truncate=false, const file_event_handlers &event_handlers={})
Definition: basic_file_sink.h:50
Definition: basic_file_sink.h:20
basic_file_sink(const filename_t &filename, bool truncate=false, const file_event_handlers &event_handlers={})
Definition: basic_file_sink-inl.h:17
Definition: file_helper.h:16
filename
Definition: parse_all_dl.m:14
Definition: base_sink.h:19
details::file_helper file_helper_
Definition: basic_file_sink.h:31
void flush_() override
Definition: basic_file_sink-inl.h:38
std::shared_ptr< logger > basic_logger_mt(const std::string &logger_name, const filename_t &filename, bool truncate=false, const file_event_handlers &event_handlers={})
Definition: basic_file_sink.h:43
const filename_t & filename() const
Definition: basic_file_sink-inl.h:24
std::string filename_t
Definition: common.h:122