|
spdlog
|
Definition at line 27 of file registry.h.
#include <registry.h>
Public Types | |
| using | log_levels = std::unordered_map< std::string, level::level_enum > |
Static Public Member Functions | |
| static registry & | instance () |
Private Member Functions | |
| registry () | |
| ~registry () | |
| void | throw_if_exists_ (const std::string &logger_name) |
| void | register_logger_ (std::shared_ptr< logger > new_logger) |
| bool | set_level_from_cfg_ (logger *logger) |
Definition at line 30 of file registry.h.
|
delete |
|
private |
Definition at line 33 of file registry-inl.h.
|
privatedefault |
| SPDLOG_INLINE void spdlog::details::registry::apply_all | ( | const std::function< void(const std::shared_ptr< logger >)> & | fun | ) |
Definition at line 208 of file registry-inl.h.
| SPDLOG_INLINE std::shared_ptr< logger > spdlog::details::registry::default_logger | ( | ) |
Definition at line 95 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::disable_backtrace | ( | ) |
Definition at line 161 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::drop | ( | const std::string & | logger_name | ) |
Definition at line 226 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::drop_all | ( | ) |
Definition at line 236 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::enable_backtrace | ( | size_t | n_messages | ) |
Definition at line 150 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::flush_all | ( | ) |
Definition at line 217 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::flush_every | ( | std::chrono::seconds | interval | ) |
Definition at line 191 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::flush_on | ( | level::level_enum | log_level | ) |
Definition at line 181 of file registry-inl.h.
| SPDLOG_INLINE std::shared_ptr< logger > spdlog::details::registry::get | ( | const std::string & | logger_name | ) |
Definition at line 88 of file registry-inl.h.
| SPDLOG_INLINE logger * spdlog::details::registry::get_default_raw | ( | ) |
Definition at line 105 of file registry-inl.h.
| SPDLOG_INLINE std::shared_ptr< thread_pool > spdlog::details::registry::get_tp | ( | ) |
Definition at line 133 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::initialize_logger | ( | std::shared_ptr< logger > | new_logger | ) |
Definition at line 60 of file registry-inl.h.
|
static |
Definition at line 291 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::register_logger | ( | std::shared_ptr< logger > | new_logger | ) |
Definition at line 54 of file registry-inl.h.
|
private |
Definition at line 305 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_automatic_registration | ( | bool | automatic_registration | ) |
Definition at line 264 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_default_logger | ( | std::shared_ptr< logger > | new_default_logger | ) |
Definition at line 112 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_error_handler | ( | err_handler | handler | ) |
Definition at line 198 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_formatter | ( | std::unique_ptr< formatter > | formatter | ) |
Definition at line 140 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_level | ( | level::level_enum | log_level | ) |
Definition at line 171 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_levels | ( | log_levels | levels, |
| level::level_enum * | global_level | ||
| ) |
Definition at line 270 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::set_tp | ( | std::shared_ptr< thread_pool > | tp | ) |
Definition at line 127 of file registry-inl.h.
| SPDLOG_INLINE void spdlog::details::registry::shutdown | ( | ) |
Definition at line 244 of file registry-inl.h.
|
private |
Definition at line 297 of file registry-inl.h.
| SPDLOG_INLINE std::recursive_mutex & spdlog::details::registry::tp_mutex | ( | ) |
Definition at line 259 of file registry-inl.h.
|
private |
Definition at line 106 of file registry.h.
|
private |
Definition at line 107 of file registry.h.
|
private |
Definition at line 105 of file registry.h.
|
private |
Definition at line 102 of file registry.h.
|
private |
Definition at line 101 of file registry.h.
|
private |
Definition at line 95 of file registry.h.
|
private |
Definition at line 99 of file registry.h.
|
private |
Definition at line 100 of file registry.h.
|
private |
Definition at line 98 of file registry.h.
|
private |
Definition at line 95 of file registry.h.
|
private |
Definition at line 97 of file registry.h.
|
private |
Definition at line 104 of file registry.h.
|
private |
Definition at line 103 of file registry.h.
|
private |
Definition at line 96 of file registry.h.