LogPrintFormatInternal overloads

Synopses

Declared in <util/log.h>

Format and log a message with rate limiting enabled.

template<typename... Args>
void
LogPrintFormatInternal(
    SourceLocation&& source_loc,
    BCLog::LogFlags flag,
    util::log::Level level,
    util::ConstevalFormatString<sizeof...(Args)> fmt,
    Args const&... args);

Format and log a message with rate limiting disabled.

template<typename... Args>
void
LogPrintFormatInternal(
    SourceLocation&& source_loc,
    BCLog::LogFlags flag,
    util::log::Level level,
    util::log::NoRateLimitTag no_rate_limit_tag,
    util::ConstevalFormatString<sizeof...(Args)> fmt,
    Args const&... args);

Parameters

Name

Description

source_loc

Source location the message originates from.

flag

Logging category flag for the message.

level

Severity level of the message.

fmt

tinyformat format string.

args

Format arguments substituted into fmt.

no_rate_limit_tag

Tag selecting the non‐rate‐limited overload.

Created with MrDocs