Senzing C++ SDK
C++ SDK for Senzing v4, patterned after the official C# SDK
Loading...
Searching...
No Matches
senzing::sdk::SzLogEntry Struct Reference

An owned copy of an SzLogRecord, for queues and buffers. More...

#include <SzLogging.hpp>

Collaboration diagram for senzing::sdk::SzLogEntry:

Public Member Functions

bool operator== (const SzLogEntry &other) const =default

Public Attributes

SzLogLevel Level {SzLogLevel::Info}
 The message's severity.
std::string Module
 The module name (SzLogRecord::Module()).
std::optional< std::string > ThreadHash
 The thread hash (SzLogRecord::ThreadHash()).
std::string Message
 The message as native formatted it.
std::optional< std::chrono::system_clock::time_point > Timestamp
 When native logged the message (UTC); std::nullopt until Senzing >= 4.5.1 / 4.6.0.
std::optional< uint64_t > ThreadID
 OS id of the logging thread; std::nullopt until Senzing >= 4.5.1 / 4.6.0.

Detailed Description

An owned copy of an SzLogRecord, for queues and buffers.

Member Function Documentation

◆ operator==()

bool senzing::sdk::SzLogEntry::operator== ( const SzLogEntry & other) const
default

Member Data Documentation

◆ Level

SzLogLevel senzing::sdk::SzLogEntry::Level {SzLogLevel::Info}

The message's severity.

◆ Message

std::string senzing::sdk::SzLogEntry::Message

The message as native formatted it.

◆ Module

std::string senzing::sdk::SzLogEntry::Module

The module name (SzLogRecord::Module()).

◆ ThreadHash

std::optional<std::string> senzing::sdk::SzLogEntry::ThreadHash

The thread hash (SzLogRecord::ThreadHash()).

◆ ThreadID

std::optional<uint64_t> senzing::sdk::SzLogEntry::ThreadID

OS id of the logging thread; std::nullopt until Senzing >= 4.5.1 / 4.6.0.

◆ Timestamp

std::optional<std::chrono::system_clock::time_point> senzing::sdk::SzLogEntry::Timestamp

When native logged the message (UTC); std::nullopt until Senzing >= 4.5.1 / 4.6.0.


The documentation for this struct was generated from the following file: