![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
Classes | |
| struct | Entry |
| struct | NoRateLimitTag |
| Structure and constant for tagging not to rate limit. More... | |
Typedefs | |
| using | Category = uint64_t |
| Opaque to util::log; interpreted by consumers (e.g., BCLog::LogFlags). More... | |
Enumerations | |
| enum class | Level { Trace = 0 , Debug , Info , Warning , Error } |
Functions | |
| bool | ShouldDebugLog (Category category) |
| Return whether messages with specified category should be debug logged. More... | |
| bool | ShouldTraceLog (Category category) |
| Return whether messages with specified category should be trace logged. More... | |
| void | Log (Entry entry) |
| Send message to be logged. More... | |
| template<typename... Args> | |
| void | LogPrintFormatInternal_ (SourceLocation &&source_loc, BCLog::LogFlags flag, util::log::Level level, bool should_ratelimit, util::ConstevalFormatString< sizeof...(Args)> fmt, const Args &... args) |
| template<typename... Args> | |
| void | LogPrintFormatInternal (SourceLocation &&source_loc, BCLog::LogFlags flag, util::log::Level level, util::ConstevalFormatString< sizeof...(Args)> fmt, const Args &... args) |
| template<typename... Args> | |
| void | LogPrintFormatInternal (SourceLocation &&source_loc, BCLog::LogFlags flag, util::log::Level level, util::log::NoRateLimitTag, util::ConstevalFormatString< sizeof...(Args)> fmt, const Args &... args) |
Variables | |
| constexpr NoRateLimitTag | NO_RATE_LIMIT {} |
| using util::log::Category = typedef uint64_t |
Opaque to util::log; interpreted by consumers (e.g., BCLog::LogFlags).
|
strong |
| void util::log::Log | ( | Entry | entry | ) |
Send message to be logged.
Applications using the logging library need to provide this.
Definition at line 625 of file logging.cpp.
|
inline |
|
inline |
|
inline |
| bool util::log::ShouldDebugLog | ( | Category | category | ) |
Return whether messages with specified category should be debug logged.
Applications using the logging library need to provide this.
Definition at line 615 of file logging.cpp.
| bool util::log::ShouldTraceLog | ( | Category | category | ) |
Return whether messages with specified category should be trace logged.
Applications using the logging library need to provide this.
Definition at line 620 of file logging.cpp.
|
inlineconstexpr |