Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::LogLine Struct Reference

Immutable UTF-8 record with its original byte position; separators are excluded. More...

#include <log_file.hpp>

Public Member Functions

 LogLine (std::uint64_t offset, std::string_view utf8, std::pmr::memory_resource *resource)

Public Attributes

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.

Detailed Description

Immutable UTF-8 record with its original byte position; separators are excluded.

Constructor & Destructor Documentation

◆ LogLine()

portals::LogLine::LogLine ( std::uint64_t offset,
std::string_view utf8,
std::pmr::memory_resource * resource )
Parameters
offsetOriginal record position.
utf8Complete validated UTF-8 record.
resourceOwning page arena; must outlive this value.

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