BloombergLP::ball::Log::logMessage

logMessage overloads

Synopses

Declared in <ball_log.h>

Log the specified record under the given category and severity.

static
void
logMessage(
    Category const* category,
    int severity,
    Record* record);
» more...

Log a message with the specified category, severity, and location.

static
void
logMessage(
    Category const* category,
    int severity,
    std::string_view const& fileName,
    int lineNumber,
    std::string_view const& message);
» more...

Parameters

NameDescription
categorycategory under which the record is logged
severityseverity level of the log record
recordrecord to log and then dispose of
fileNamesource file name attribute for the record
lineNumbersource line number attribute for the record
messagetext of the log message