BloombergLP::ball::RecordAttributes::RecordAttributes

Same as the preceding overload, additionally taking the specified kernelThreadID.

Synopsis

Declared in <ball_recordattributes.h>

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

NameDescription
timestampcreation date and time
processIDprocess id of creator
threadIDthread id of creator
kernelThreadIDkernel thread id of creator
fileNamefile where created (FILE)
lineNumberline number in file (LINE)
categorycategory of logged record
severityseverity of logged record
messagelog message text
basicAllocatormemory allocator; null uses the default