|
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::function< void()> on_thread_start, std::function< void()> on_thread_stop) |
|
void | init_thread_pool (size_t q_size, size_t thread_count, std::function< void()> on_thread_start) |
|
void | init_thread_pool (size_t q_size, size_t thread_count) |
|
std::shared_ptr< spdlog::details::thread_pool > | thread_pool () |
|
SPDLOG_INLINE void | throw_spdlog_ex (const std::string &msg, int last_errno) |
|
SPDLOG_INLINE void | throw_spdlog_ex (std::string msg) |
|
template<typename Container > |
details::dump_info< typename Container::const_iterator > | to_hex (const Container &container, size_t size_per_line=32) |
|
template<typename It > |
details::dump_info< It > | to_hex (const It range_begin, const It range_end, size_t size_per_line=32) |
|
SPDLOG_INLINE void | swap (logger &a, logger &b) |
|
template<typename Factory = spdlog::synchronous_factory> |
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={}) |
|
template<typename Factory = spdlog::synchronous_factory> |
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={}) |
|
template<typename Factory = spdlog::synchronous_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, uint16_t max_files=0, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | daily_logger_format_mt (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_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, uint16_t max_files=0, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | daily_logger_format_st (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | hourly_logger_mt (const std::string &logger_name, const filename_t &filename, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | hourly_logger_st (const std::string &logger_name, const filename_t &filename, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | mongo_logger_mt (const std::string &logger_name, const std::string &db_name, const std::string &collection_name, const std::string &uri="mongodb://localhost:27017") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | mongo_logger_st (const std::string &logger_name, const std::string &db_name, const std::string &collection_name, const std::string &uri="mongodb://localhost:27017") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | null_logger_mt (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | null_logger_st (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | qt_logger_mt (const std::string &logger_name, QTextEdit *qt_object, const std::string &meta_method="append") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | qt_logger_st (const std::string &logger_name, QTextEdit *qt_object, const std::string &meta_method="append") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | qt_logger_mt (const std::string &logger_name, QPlainTextEdit *qt_object, const std::string &meta_method="appendPlainText") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | qt_logger_st (const std::string &logger_name, QPlainTextEdit *qt_object, const std::string &meta_method="appendPlainText") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | qt_logger_mt (const std::string &logger_name, QObject *qt_object, const std::string &meta_method) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | qt_logger_st (const std::string &logger_name, QObject *qt_object, const std::string &meta_method) |
|
template<typename Factory = spdlog::synchronous_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, const file_event_handlers &event_handlers={}) |
|
template<typename Factory = spdlog::synchronous_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, const file_event_handlers &event_handlers={}) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stdout_color_mt (const std::string &logger_name, color_mode mode) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stdout_color_st (const std::string &logger_name, color_mode mode) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stderr_color_mt (const std::string &logger_name, color_mode mode) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stderr_color_st (const std::string &logger_name, color_mode mode) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stdout_color_mt (const std::string &logger_name, color_mode mode=color_mode::automatic) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stdout_color_st (const std::string &logger_name, color_mode mode=color_mode::automatic) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stderr_color_mt (const std::string &logger_name, color_mode mode=color_mode::automatic) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stderr_color_st (const std::string &logger_name, color_mode mode=color_mode::automatic) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stdout_logger_mt (const std::string &logger_name) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stdout_logger_st (const std::string &logger_name) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stderr_logger_mt (const std::string &logger_name) |
|
template<typename Factory > |
SPDLOG_INLINE std::shared_ptr< logger > | stderr_logger_st (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stdout_logger_mt (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stdout_logger_st (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stderr_logger_mt (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | stderr_logger_st (const std::string &logger_name) |
|
template<typename Factory = spdlog::synchronous_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=LOG_USER, bool enable_formatting=false) |
|
template<typename Factory = spdlog::synchronous_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=LOG_USER, bool enable_formatting=false) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | systemd_logger_mt (const std::string &logger_name, const std::string &ident="", bool enable_formatting=false) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | systemd_logger_st (const std::string &logger_name, const std::string &ident="", bool enable_formatting=false) |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | udp_logger_mt (const std::string &logger_name, sinks::udp_sink_config skin_config) |
|
SPDLOG_INLINE void | initialize_logger (std::shared_ptr< logger > logger) |
|
SPDLOG_INLINE std::shared_ptr< logger > | get (const std::string &name) |
|
SPDLOG_INLINE void | set_formatter (std::unique_ptr< spdlog::formatter > formatter) |
|
SPDLOG_INLINE void | set_pattern (std::string pattern, pattern_time_type time_type) |
|
SPDLOG_INLINE void | enable_backtrace (size_t n_messages) |
|
SPDLOG_INLINE void | disable_backtrace () |
|
SPDLOG_INLINE void | dump_backtrace () |
|
SPDLOG_INLINE level::level_enum | get_level () |
|
SPDLOG_INLINE bool | should_log (level::level_enum log_level) |
|
SPDLOG_INLINE void | set_level (level::level_enum log_level) |
|
SPDLOG_INLINE void | flush_on (level::level_enum log_level) |
|
SPDLOG_INLINE void | flush_every (std::chrono::seconds interval) |
|
SPDLOG_INLINE void | set_error_handler (void(*handler)(const std::string &msg)) |
|
SPDLOG_INLINE void | register_logger (std::shared_ptr< logger > logger) |
|
SPDLOG_INLINE void | apply_all (const std::function< void(std::shared_ptr< logger >)> &fun) |
|
SPDLOG_INLINE void | drop (const std::string &name) |
|
SPDLOG_INLINE void | drop_all () |
|
SPDLOG_INLINE void | shutdown () |
|
SPDLOG_INLINE void | set_automatic_registration (bool automatic_registration) |
|
SPDLOG_INLINE std::shared_ptr< spdlog::logger > | default_logger () |
|
SPDLOG_INLINE spdlog::logger * | default_logger_raw () |
|
SPDLOG_INLINE void | set_default_logger (std::shared_ptr< spdlog::logger > default_logger) |
|
template<typename Sink , typename... SinkArgs> |
std::shared_ptr< spdlog::logger > | create (std::string logger_name, SinkArgs &&... sink_args) |
|
template<typename... Args> |
void | log (source_loc source, level::level_enum lvl, format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | log (level::level_enum lvl, format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | trace (format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | debug (format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | info (format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | warn (format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | error (format_string_t< Args... > fmt, Args &&... args) |
|
template<typename... Args> |
void | critical (format_string_t< Args... > fmt, Args &&... args) |
|
template<typename T > |
void | log (source_loc source, level::level_enum lvl, const T &msg) |
|
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) |
|