struct LogMessage
Defined at line 125 of file ../../src/lib/diagnostics/log/message/rust/cpp-log-decoder/log_decoder.h
Log message representation for FFI with C++.
# Lifetime and Borrowing
Strings within `LogMessage` (`tags`, `message`, and string keys/values in `kvps`)
borrow directly from the incoming encoded message buffer (`bytes`) when possible,
or from the provided arena allocator (`Bump`).
Consequently, the incoming message buffer MUST remain valid and unmodified
for at least as long as the `LogMessage` is in use.
Public Members
uint8_t severity
uint64_t pid
uint64_t tid
uint64_t dropped
CppArray message
CppArray file
uint64_t line
CppArray moniker_tag
CppArray kvps
int64_t timestamp