|
void | register_logger (std::shared_ptr< logger > logger) |
|
std::shared_ptr< logger > | get (const std::string &logger_name) |
|
template<class It > |
std::shared_ptr< logger > | create (const std::string &logger_name, const It &sinks_begin, const It &sinks_end) |
|
template<class It > |
std::shared_ptr< async_logger > | create_async (const std::string &logger_name, size_t queue_size, const async_overflow_policy overflow_policy, const std::function< void()> &worker_warmup_cb, const std::chrono::milliseconds &flush_interval_ms, const std::function< void()> &worker_teardown_cb, const It &sinks_begin, const It &sinks_end) |
|
void | apply_all (std::function< void(std::shared_ptr< logger >)> fun) |
|
void | drop (const std::string &logger_name) |
|
void | drop_all () |
|
std::shared_ptr< logger > | create (const std::string &logger_name, sinks_init_list sinks) |
|
std::shared_ptr< logger > | create (const std::string &logger_name, sink_ptr sink) |
|
std::shared_ptr< async_logger > | create_async (const std::string &logger_name, size_t queue_size, const async_overflow_policy overflow_policy, const std::function< void()> &worker_warmup_cb, const std::chrono::milliseconds &flush_interval_ms, const std::function< void()> &worker_teardown_cb, sinks_init_list sinks) |
|
std::shared_ptr< async_logger > | create_async (const std::string &logger_name, size_t queue_size, const async_overflow_policy overflow_policy, const std::function< void()> &worker_warmup_cb, const std::chrono::milliseconds &flush_interval_ms, const std::function< void()> &worker_teardown_cb, sink_ptr sink) |
|
void | formatter (formatter_ptr f) |
|
void | set_pattern (const std::string &pattern) |
|
void | set_level (level::level_enum log_level) |
|
void | set_error_handler (log_err_handler handler) |
|
void | set_async_mode (size_t q_size, const async_overflow_policy overflow_policy, const std::function< void()> &worker_warmup_cb, const std::chrono::milliseconds &flush_interval_ms, const std::function< void()> &worker_teardown_cb) |
|
void | set_sync_mode () |
|
template<
class Mutex>
class spdlog::details::registry_t< Mutex >
Definition at line 29 of file registry.h.