Format and log a message with rate limiting enabled.

Synopsis

Declared in <util/log.h>

template<typename... Args>
void
LogPrintFormatInternal(
    SourceLocation&& source_loc,
    BCLog::LogFlags flag,
    util::log::Level level,
    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.

Created with MrDocs