BloombergLP::ball::RecordAttributes::RecordAttributes

Constructors

Synopses

Declared in <ball_recordattributes.h>

Create a record attributes object with all attributes having default values. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
RecordAttributes(bslma::Allocator* basicAllocator = 0);
» more...

Create a record attributes object having the value of the specified original record attributes object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

RecordAttributes(
    RecordAttributes const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a record attributes object having the specified timestamp, processID, threadID, kernelThreadId, fileName, lineNumber, category, severity and message values, respectively. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

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);
» more...

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);
» more...