Publish and dispose of a record via the platform default handler.
Synopsis
Declared in <ball_loggermanager.h>
static
void
logMessage(
int severity,
Record* record);
Description
Publish the specified record using bsls::Log::platformDefaultMessageHandler after setting its severity attribute to the specified severity, and dispose of record. The behavior is undefined unless record was obtained by a call to the LoggerManager::getRecord method. Note that record will be invalid after this method returns.
Parameters
Name |
Description |
severity |
severity level assigned to the record |
record |
record to publish and then dispose of |
Created with MrDocs