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 isDataSource::Inspect
.. - The metadata contained in a
DiagnosticsData
object where the data source isDataSource::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 isDataSource::Logs
.
Enums§
- The source of diagnostics data
- Errors that can happen in this library.
- One of:
- The possible name for a handle to inspect data. It could be a filename (being deprecated) or a name published using
fuchsia.inspect.InspectSink
. - Possible errors that can come in a
DiagnosticsData
object where the data source isDataSource::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”.
- Options for the timezone associated to the timestamp of a log line.
Constants§
- The label for the number of dropped logs in the log metadata.
- The label for the file associated with a log line.
- The label for the line number in the file associated with a log line.
- The label for the message in the log payload.
- The label for the contents of a message in the log payload.
- The label for the process koid in the log metadata.
- The label for a tag in the log metadata.
- The label for the thread koid in the log metadata.
Traits§
- A trait implemented by marker types which denote “kinds” of diagnostics data.
Functions§
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
.