![]() |
LogIt++
Header-only, macro-first C++ logging library
|
Common owning snapshot of a stored log record. More...
#include <ILogReader.hpp>
Public Attributes | |
| uint64_t | session_id = 0 |
| Owning session id, or 0 if unused. | |
| int64_t | timestamp_ms = 0 |
| Log timestamp in milliseconds. | |
| uint32_t | sequence = 0 |
| Per-timestamp sequence, or 0 if unused. | |
| LogLevel | level = LogLevel::LOG_LVL_TRACE |
| Log severity level. | |
| std::string | message |
| Formatted message or payload preview. | |
| uint64_t | payload_id = 0 |
| Payload row id, or 0 when absent. | |
| std::string | file |
| Source file path. | |
| std::string | function |
| Source function name. | |
| int | line = 0 |
| Source line number. | |
Common owning snapshot of a stored log record.
String fields are copied from the backend, so callers may store the snapshot by value without depending on backend locks or record lifetime.
Definition at line 24 of file ILogReader.hpp.
| std::string logit::LogRecordSnapshot::file |
Source file path.
Definition at line 31 of file ILogReader.hpp.
| std::string logit::LogRecordSnapshot::function |
Source function name.
Definition at line 32 of file ILogReader.hpp.
| LogLevel logit::LogRecordSnapshot::level = LogLevel::LOG_LVL_TRACE |
Log severity level.
Definition at line 28 of file ILogReader.hpp.
| int logit::LogRecordSnapshot::line = 0 |
Source line number.
Definition at line 33 of file ILogReader.hpp.
| std::string logit::LogRecordSnapshot::message |
Formatted message or payload preview.
Definition at line 29 of file ILogReader.hpp.
| uint64_t logit::LogRecordSnapshot::payload_id = 0 |
Payload row id, or 0 when absent.
Definition at line 30 of file ILogReader.hpp.
| uint32_t logit::LogRecordSnapshot::sequence = 0 |
Per-timestamp sequence, or 0 if unused.
Definition at line 27 of file ILogReader.hpp.
| uint64_t logit::LogRecordSnapshot::session_id = 0 |
Owning session id, or 0 if unused.
Definition at line 25 of file ILogReader.hpp.
| int64_t logit::LogRecordSnapshot::timestamp_ms = 0 |
Log timestamp in milliseconds.
Definition at line 26 of file ILogReader.hpp.