[#BloombergLP-ball-Log-logMessage-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Log.adoc[Log]::logMessage :relfileprefix: ../../../ :mrdocs: `logMessage` overloads == Synopses Declared in `<ball_log.h>` Log the specified record under the given category and severity. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/ball/Log/logMessage-0b.adoc[logMessage]( xref:BloombergLP/ball/Category.adoc[Category] const* category, int severity, xref:BloombergLP/ball/Record.adoc[Record]* record); ---- [.small]#xref:BloombergLP/ball/Log/logMessage-0b.adoc[_» more..._]# Log a message with the specified category, severity, and location. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/ball/Log/logMessage-00.adoc[logMessage]( xref:BloombergLP/ball/Category.adoc[Category] const* category, int severity, std::string_view const& fileName, int lineNumber, std::string_view const& message); ---- [.small]#xref:BloombergLP/ball/Log/logMessage-00.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *category* | category under which the record is logged | *severity* | severity level of the log record | *record* | record to log and then dispose of | *fileName* | source file name attribute for the record | *lineNumber* | source line number attribute for the record | *message* | text of the log message |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#