Skip to main content

Crate diagnostics_log_encoding

Crate diagnostics_log_encoding 

Source
Expand description

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

Re-exports§

pub use zx;

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§

ARCHIVIST_URL
The component URL of the archivist.
FXT_HEADER_SIZE
Size of the FXT header.
LOG_CONTROL_BIT
The bit in the tag that indicates the record is a control message, rather than a FXT record produced by a component.
MAX_SIZE_WORDS
The maximum value acceptable for size_words below.
MONIKER
Argument name for the component moniker in FXT manifest records.
ROLLED_OUT
Rolled out count field for log records provided by the archivist.
TRACING_FORMAT_LOG_RECORD_TYPE
The tracing format supports many types of records, we’re sneaking in as a log message.
URL
Argument name for the component URL in FXT manifest records.

Type Aliases§

RawSeverity
A raw severity.