Function ffi_from_extended_record

Source
pub fn ffi_from_extended_record<'a>(
    bytes: &'a [u8],
    allocator: &'a Bump,
    source: Option<MonikerWithUrl>,
    expect_extended_attribution: bool,
) -> Result<(&'a mut LogMessage<'a>, &'a [u8]), MessageError>
Expand description

Constructs a CPPLogsMessage from the provided bytes, assuming the bytes are in the format specified as in the [log encoding], and come from

an Archivist LogStream with moniker, URL, and dropped logs output enabled. [log encoding] https://fuchsia.dev/fuchsia-src/development/logs/encodings