If the specified severity is at least as severe as severityThrehold, invoke the currently installed log message handler with severity and the specified file and line, as well as a message string created by calling sprintf on the specified format with the specified variadic arguments; otherwise (if severity is less severe), this operation has no effect. The behavior is undefined unless 0 <= line, and format is a valid sprintf format specification for the supplied variadic arguments.

Synopsis

Declared in <bsls_log.h>

static
void
logFormattedMessage(
    bsls::LogSeverity::Enum severity,
    char const* file,
    int line,
    char const* format, ...);

Created with MrDocs