[#BloombergLP-ball-RecordAttributes-2constructor-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes]::RecordAttributes
:relfileprefix: ../../../
:mrdocs:

Create a record attributes object having the specified attribute values&period;

== Synopsis

Declared in `&lt;ball&lowbar;recordattributes&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
RecordAttributes(
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& timestamp,
    int processID,
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] threadID,
    std::string&lowbar;view const& fileName,
    int lineNumber,
    std::string&lowbar;view const& category,
    int severity,
    std::string&lowbar;view const& message,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

The object is initialized with the specified `timestamp`, `processID`, `threadID`, `fileName`, `lineNumber`, `category`, `severity` and `message`&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *timestamp*
| creation date and time
| *processID*
| process id of creator
| *threadID*
| thread id of creator
| *fileName*
| file where created (`*FILE*`)
| *lineNumber*
| line number in file (`*LINE*`)
| *category*
| category of logged record
| *severity*
| severity of logged record
| *message*
| log message text
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
