Crate diagnostics_log_encoding

Source
Expand description

This crate provides an implementation of Fuchsia Diagnostic Streams, often referred to as “logs.”

Modules§

encode
Encoding diagnostic records using the Fuchsia Tracing format.
parse
Parse diagnostic records from streams, returning FIDL-generated structs that match expected diagnostic service APIs.

Structs§

Header
A header in the tracing format. Expected to precede every Record and Argument.
Record
A log record.

Enums§

Argument
An argument of the log record identified by a name and with an associated value.
Metatag
Tag derived from metadata.
Value
The value of a logging argument.

Constants§

FXT_HEADER_SIZE
Size of the FXT header.
TRACING_FORMAT_LOG_RECORD_TYPE
The tracing format supports many types of records, we’re sneaking in as a log message.

Type Aliases§

RawSeverity
A raw severity.