Application‐agnostic logging interface shared across Bitcoin Core.

Types

Name

Description

Entry

A single log message together with its metadata.

NoRateLimitTag

Structure and constant for tagging not to rate limit.

Type Aliases

Name

Description

Category

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

Enums

Name

Description

Level

Severity level of a log entry.

Functions

Name

Description

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

Name

Description

NO_RATE_LIMIT

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

Created with MrDocs