|
| | Logger (LogMethod &&l, std::string tag="") |
| | Logger (const Logger &parent, std::string tag) |
| std::shared_ptr< Logger > | createChild (std::string tag) |
| void | setFilter (std::string_view filter) |
| void | setFilter (const InfoHash &f) |
| void | log0 (source_loc loc, LogLevel level, fmt::string_view format, fmt::printf_args args) const |
| template<typename... Args> |
| void | debug (LogFormat< type_identity_t< Args >... > format, Args &&... args) const |
| template<typename... Args> |
| void | warn (LogFormat< type_identity_t< Args >... > format, Args &&... args) const |
| template<typename... Args> |
| void | error (LogFormat< type_identity_t< Args >... > format, Args &&... args) const |
| template<typename... T> |
| void | d (LogFormat< type_identity_t< T >... > format, T &&... args) const |
| template<typename... T> |
| void | w (LogFormat< type_identity_t< T >... > format, T &&... args) const |
| template<typename... T> |
| void | e (LogFormat< type_identity_t< T >... > format, T &&... args) const |
Definition at line 115 of file logger.h.
◆ Logger() [1/2]
| dht::log::Logger::Logger |
( |
LogMethod && | l, |
|
|
std::string | tag = "" ) |
|
inline |
◆ Logger() [2/2]
| dht::log::Logger::Logger |
( |
const Logger & | parent, |
|
|
std::string | tag ) |
|
inline |
◆ createChild()
| std::shared_ptr< Logger > dht::log::Logger::createChild |
( |
std::string | tag | ) |
|
|
inline |
◆ d()
template<typename... T>
| void dht::log::Logger::d |
( |
LogFormat< type_identity_t< T >... > | format, |
|
|
T &&... | args ) const |
|
inline |
◆ debug()
template<typename... Args>
| void dht::log::Logger::debug |
( |
LogFormat< type_identity_t< Args >... > | format, |
|
|
Args &&... | args ) const |
|
inline |
◆ e()
template<typename... T>
| void dht::log::Logger::e |
( |
LogFormat< type_identity_t< T >... > | format, |
|
|
T &&... | args ) const |
|
inline |
◆ error()
template<typename... Args>
| void dht::log::Logger::error |
( |
LogFormat< type_identity_t< Args >... > | format, |
|
|
Args &&... | args ) const |
|
inline |
◆ log0()
| void dht::log::Logger::log0 |
( |
source_loc | loc, |
|
|
LogLevel | level, |
|
|
fmt::string_view | format, |
|
|
fmt::printf_args | args ) const |
|
inline |
◆ setFilter() [1/2]
| void dht::log::Logger::setFilter |
( |
const InfoHash & | f | ) |
|
|
inline |
◆ setFilter() [2/2]
| void dht::log::Logger::setFilter |
( |
std::string_view | filter | ) |
|
|
inline |
◆ w()
template<typename... T>
| void dht::log::Logger::w |
( |
LogFormat< type_identity_t< T >... > | format, |
|
|
T &&... | args ) const |
|
inline |
◆ warn()
template<typename... Args>
| void dht::log::Logger::warn |
( |
LogFormat< type_identity_t< Args >... > | format, |
|
|
Args &&... | args ) const |
|
inline |
The documentation for this struct was generated from the following file:
- /home/iurt/rpmbuild/BUILD/opendht-3.7.1-build/opendht-3.7.1/include/opendht/logger.h