BloombergLP::ball::Logger::getRecord

Return a modifiable record from this logger's object pool.

Synopsis

Declared in <ball_loggermanager.h>

Record*
getRecord(
    std::string_view const& fileName,
    int lineNumber);

Description

Return the address of a modifiable record having the specified fileName and lineNumber attributes, and retrieved from the object pool managed by this logger. Note that the returned Record must subsequently be supplied to a call to the 3-argument logMessage method on this logger.

Return Value

address of a modifiable record from this logger's object pool

Parameters

NameDescription
fileNamesource file name attribute for the record
lineNumbersource line number attribute for the record