Crate diagnostics_data

source ·
Expand description

§Diagnostics data

This library contains the Diagnostics data schema used for inspect and logs . This is the data that the Archive returns on fuchsia.diagnostics.ArchiveAccessor reads.

Macros§

  • This macro simplifies creating diagnostics hierarchies, to remove the need of writing multiple nested hierarchies and manually writing all properties.

Structs§

  • Arguments used to create a new LogsDataBuilder.
  • An instance of diagnostics data with typed metadata and an optional nested payload.
  • A hierarchy of nodes representing structured data, such as Inspect or structured log data.
  • Inspect carries snapshots of data trees hosted by components.
  • Possible error that can come in a DiagnosticsData object where the data source is DataSource::Inspect..
  • The metadata contained in a DiagnosticsData object where the data source is DataSource::Inspect.
  • Display options for unstructured logs.
  • Used to control stringification options of Data
  • Logs carry streams of structured events from components.
  • Internal state of the LogsDataBuilder impl External customers should not directly access these fields.
  • The metadata contained in a DiagnosticsData object where the data source is DataSource::Logs.
  • Wraps a time for serialization and deserialization purposes.

Enums§

  • The source of diagnostics data
  • Errors that can happen in this library.
  • The possible name for a handle to inspect data. It could be a filename (being deprecated) or a name published using fuchsia.inspect.InspectSink.
  • The legacy severity representation.
  • Possible errors that can come in a DiagnosticsData object where the data source is DataSource::Logs.
  • Configuration for the color of a log line that is displayed in tools using LogTextPresenter.
  • Configuration for how to display the timestamp associated to a log line.
  • An enum containing well known argument names passed through logs, as well as an Other variant for any other argument names.
  • A named property. Each of the fields consists of (name, value).
  • Severities a log message can have, often called the log’s “level”.
  • Error that can happen when converting an integer to a LegacySeverity.
  • Options for the timezone associated to the timestamp of a log line.

Constants§

Traits§

Type Aliases§

  • A diagnostics data object containing inspect data.
  • A diagnostics data object containing logs data.
  • A diagnostics data payload containing logs data.
  • A diagnostics hierarchy property keyed by LogsField.