BloombergLP::ball::LoggerManager::getRecord

Return a modifiable record allocated from the default allocator.

Synopsis

Declared in <ball_loggermanager.h>

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

Description

Return the address of a modifiable record with the specified fileName and lineNumber attributes, and whose memory is supplied by the currently installed default allocator. Note that the returned Record must subsequently be supplied to a call to the LoggerManager::logMessage method.

Return Value

address of a modifiable record allocated from the default allocator

Parameters

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