|
My Project 3.7.1
C++ Distributed Hash Table
|
Classes | |
| struct | source_loc |
| struct | LogFormat |
| struct | type_identity |
| struct | Logger |
Typedefs | |
| using | LogMethod = std::function<void(source_loc, LogLevel, std::string_view, std::string&&)> |
| template<class _Tp> | |
| using | type_identity_t = typename type_identity<_Tp>::type |
Enumerations | |
| enum class | LogLevel { debug , warning , error } |
Functions | |
| OPENDHT_PUBLIC std::shared_ptr< Logger > | getStdLogger () |
| OPENDHT_PUBLIC std::shared_ptr< Logger > | getFileLogger (const std::string &path) |
| OPENDHT_PUBLIC std::shared_ptr< Logger > | getSyslogLogger (const char *name) |
| OPENDHT_PUBLIC void | enableLogging (dht::DhtRunner &dht) |
| OPENDHT_PUBLIC void | enableFileLogging (dht::DhtRunner &dht, const std::string &path) |
| OPENDHT_PUBLIC void | disableLogging (dht::DhtRunner &dht) |
| OPENDHT_PUBLIC void | enableSyslog (dht::DhtRunner &dht, const char *name) |
Logging-related functions
| using dht::log::LogMethod = std::function<void(source_loc, LogLevel, std::string_view, std::string&&)> |
| using dht::log::type_identity_t = typename type_identity<_Tp>::type |