util::log::LogPrintFormatInternal_

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

NameDescription
source_locSource location the message originates from.
flagLogging category flag for the message.
levelSeverity level of the message.
should_ratelimitWhether the entry may be rate limited.
fmttinyformat format string.
argsFormat arguments substituted into fmt.