Format a log message and forward it to util::log::Log.

Synopsis

Declared in <util/log.h>

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

should_ratelimit

Whether the entry may be rate limited.

fmt

tinyformat format string.

args

Format arguments substituted into fmt.

Created with MrDocs