Immutable UTF-8 record with its original byte position; separators are excluded.
More...
#include <log_file.hpp>
|
| | LogLine (std::uint64_t offset, std::string_view utf8, std::pmr::memory_resource *resource) |
|
|
std::uint64_t | byteOffset {} |
| | Position of the first byte in the source file generation.
|
|
std::pmr::string | text |
| | Owning UTF-8 payload allocated in the delivery page.
|
Immutable UTF-8 record with its original byte position; separators are excluded.
◆ LogLine()
| portals::LogLine::LogLine |
( |
std::uint64_t | offset, |
|
|
std::string_view | utf8, |
|
|
std::pmr::memory_resource * | resource ) |
- Parameters
-
| offset | Original record position. |
| utf8 | Complete validated UTF-8 record. |
| resource | Owning page arena; must outlive this value. |
The documentation for this struct was generated from the following file: