[#BloombergLP-bsls-Log-logFormattedMessage] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Log.adoc[Log]::logFormattedMessage :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void logFormattedMessage( xref:BloombergLP/bsls/LogSeverity/Enum.adoc[bsls::LogSeverity::Enum] severity, char const* file, int line, char const* format, ...); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#