util::log

Application-agnostic logging interface shared across Bitcoin Core.

Types

NameDescription
Entry A single log message together with its metadata.
NoRateLimitTag Structure and constant for tagging not to rate limit.

Type Aliases

NameDescription
Category Opaque to util::log; interpreted by consumers (e.g., BCLog::LogFlags).

Enums

NameDescription
Level Severity level of a log entry.

Functions

NameDescription
Log Send message to be logged. Applications using the logging library need to provide this.
LogPrintFormatInternal LogPrintFormatInternal overloads
LogPrintFormatInternal_ Format a log message and forward it to util::log::Log.
ShouldDebugLog Return whether messages with specified category should be debug logged. Applications using the logging library need to provide this.
ShouldTraceLog Return whether messages with specified category should be trace logged. Applications using the logging library need to provide this.

Variables

NameDescription
NO_RATE_LIMIT Tag value passed to logging macros to opt out of rate limiting.