|
template<typename Sink , typename... SinkArgs> |
std::shared_ptr< spdlog::logger > | create_async (std::string logger_name, SinkArgs &&...sink_args) |
|
template<typename Sink , typename... SinkArgs> |
std::shared_ptr< spdlog::logger > | create_async_nb (std::string logger_name, SinkArgs &&...sink_args) |
|
void | init_thread_pool (size_t q_size, size_t thread_count) |
|
std::shared_ptr< spdlog::details::thread_pool > | thread_pool () |
|
template<typename Container > |
details::bytes_range< typename Container::const_iterator > | to_hex (const Container &container) |
|
template<typename It > |
details::bytes_range< It > | to_hex (const It range_begin, const It range_end) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | android_logger_mt (const std::string &logger_name, const std::string &tag="spdlog") |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | android_logger_st (const std::string &logger_name, const std::string &tag="spdlog") |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | basic_logger_mt (const std::string &logger_name, const filename_t &filename, bool truncate=false) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | basic_logger_st (const std::string &logger_name, const filename_t &filename, bool truncate=false) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | daily_logger_mt (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | daily_logger_st (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | null_logger_mt (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | null_logger_st (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | rotating_logger_mt (const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files, bool rotate_on_open=false) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | rotating_logger_st (const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files, bool rotate_on_open=false) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stdout_color_mt (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stdout_color_st (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stderr_color_mt (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stderr_color_st (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stdout_logger_mt (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stdout_logger_st (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stderr_logger_mt (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | stderr_logger_st (const std::string &logger_name) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | syslog_logger_mt (const std::string &logger_name, const std::string &syslog_ident="", int syslog_option=0, int syslog_facility=(1<< 3)) |
|
template<typename Factory = default_factory> |
std::shared_ptr< logger > | syslog_logger_st (const std::string &logger_name, const std::string &syslog_ident="", int syslog_option=0, int syslog_facility=(1<< 3)) |
|
template<typename Sink , typename... SinkArgs> |
std::shared_ptr< spdlog::logger > | create (std::string logger_name, SinkArgs &&...sink_args) |
|
std::shared_ptr< logger > | get (const std::string &name) |
|
void | set_formatter (std::unique_ptr< spdlog::formatter > formatter) |
|
void | set_pattern (std::string pattern, pattern_time_type time_type=pattern_time_type::local) |
|
void | set_level (level::level_enum log_level) |
|
void | flush_on (level::level_enum log_level) |
|
void | flush_every (std::chrono::seconds interval) |
|
void | set_error_handler (log_err_handler handler) |
|
void | register_logger (std::shared_ptr< logger > logger) |
|
void | apply_all (const std::function< void(std::shared_ptr< logger >)> &fun) |
|
void | drop (const std::string &name) |
|
void | drop_all () |
|
void | shutdown () |
|
void | set_automatic_registration (bool automatic_registation) |
|
std::shared_ptr< spdlog::logger > | default_logger () |
|
spdlog::logger * | default_logger_raw () |
|
void | set_default_logger (std::shared_ptr< spdlog::logger > default_logger) |
|
template<typename... Args> |
void | log (source_loc source, level::level_enum lvl, const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | log (level::level_enum lvl, const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | trace (const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | debug (const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | info (const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | warn (const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | error (const char *fmt, const Args &...args) |
|
template<typename... Args> |
void | critical (const char *fmt, const Args &...args) |
|
template<typename T > |
void | log (level::level_enum lvl, const T &msg) |
|
template<typename T > |
void | trace (const T &msg) |
|
template<typename T > |
void | debug (const T &msg) |
|
template<typename T > |
void | info (const T &msg) |
|
template<typename T > |
void | warn (const T &msg) |
|
template<typename T > |
void | error (const T &msg) |
|
template<typename T > |
void | critical (const T &msg) |
|