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);

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);

Parameters

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

Created with MrDocs