Constructors
Synopses
Declared in <ball_recordattributes.h>
Create a record attributes object with all attributes having default values.
explicit
RecordAttributes(bslma::Allocator* basicAllocator = 0);
Create a record attributes object having the value of the specified original record attributes object.
RecordAttributes(
RecordAttributes const& original,
bslma::Allocator* basicAllocator = 0);
Create a record attributes object having the specified attribute values.
RecordAttributes(
bdlt::Datetime const& timestamp,
int processID,
bsls::Types::Uint64 threadID,
std::string_view const& fileName,
int lineNumber,
std::string_view const& category,
int severity,
std::string_view const& message,
bslma::Allocator* basicAllocator = 0);
Same as the preceding overload, additionally taking the specified kernelThreadID.
RecordAttributes(
bdlt::Datetime const& timestamp,
int processID,
bsls::Types::Uint64 threadID,
bsls::Types::Uint64 kernelThreadID,
std::string_view const& fileName,
int lineNumber,
std::string_view const& category,
int severity,
std::string_view const& message,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
basicAllocator |
memory allocator; null uses the default |
original |
record attributes to copy |
timestamp |
creation date and time |
processID |
process id of creator |
threadID |
thread id of creator |
fileName |
file where created ( |
lineNumber |
line number in file ( |
category |
category of logged record |
severity |
severity of logged record |
message |
log message text |
kernelThreadID |
kernel thread id of creator |
Created with MrDocs