Return a modifiable record allocated from the default allocator.
Declared in <ball_loggermanager.h>
static
Record*
getRecord(
std::string_view const& fileName,
int lineNumber);
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.
address of a modifiable record allocated from the default allocator
| Name | Description |
|---|---|
| fileName | source file name attribute for the record |
| lineNumber | source line number attribute for the record |