![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
Classes | |
| struct | Entry |
| struct | FormatString |
| A format string for a log entry. More... | |
| 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). | |
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. | |
| bool | ShouldTraceLog (Category category) |
| Return whether messages with specified category should be trace logged. | |
| void | Log (Entry entry) |
| Send message to be logged. | |
| 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 {} |
|
private |
Opaque to util::log; interpreted by consumers (e.g., BCLog::LogFlags).
|
strongprivate |
Send message to be logged.
Applications using the logging library need to provide this.
Definition at line 987 of file bitcoinkernel.cpp.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Return whether messages with specified category should be debug logged.
Applications using the logging library need to provide this.
Definition at line 977 of file bitcoinkernel.cpp.
Return whether messages with specified category should be trace logged.
Applications using the logging library need to provide this.
Definition at line 982 of file bitcoinkernel.cpp.
|
inlineconstexprprivate |