![]() |
LogIt++
Header-only, macro-first C++ logging library
|
Structured representation of a buffered log snapshot entry. More...
#include <BufferedLogEntry.hpp>
Public Attributes | |
| LogLevel | level = LogLevel::LOG_LVL_TRACE |
| Severity of the log entry. | |
| int64_t | timestamp_ms = 0 |
| Wall-clock timestamp in milliseconds. | |
| std::string | file |
| Source file path or leaf name. | |
| int | line = 0 |
| Source line number. | |
| std::string | function |
| Function name captured at the call site. | |
| std::string | message |
| Formatted message text stored in the buffer. | |
Structured representation of a buffered log snapshot entry.
This is a small public DTO for snapshot-style APIs such as MemoryLogger and related query helpers.
Definition at line 17 of file BufferedLogEntry.hpp.
| std::string logit::BufferedLogEntry::file |
Source file path or leaf name.
Definition at line 20 of file BufferedLogEntry.hpp.
| std::string logit::BufferedLogEntry::function |
Function name captured at the call site.
Definition at line 22 of file BufferedLogEntry.hpp.
| LogLevel logit::BufferedLogEntry::level = LogLevel::LOG_LVL_TRACE |
Severity of the log entry.
Definition at line 18 of file BufferedLogEntry.hpp.
| int logit::BufferedLogEntry::line = 0 |
Source line number.
Definition at line 21 of file BufferedLogEntry.hpp.
| std::string logit::BufferedLogEntry::message |
Formatted message text stored in the buffer.
Definition at line 23 of file BufferedLogEntry.hpp.
| int64_t logit::BufferedLogEntry::timestamp_ms = 0 |
Wall-clock timestamp in milliseconds.
Definition at line 19 of file BufferedLogEntry.hpp.