Crate diagnostics_log

source ·
Expand description

Publish diagnostics as a stream of log messages.


Calls [init_publishing] and spawns the interest listener future as a fuchsia_async::Task`.
Initializes logging and detaches the publisher task.


Interest expresses the scope of clients’ desired diagnostics data, e.g. for filtering messages or controlling their generation.
Options to configure publishing.
A Publisher acts as broker, implementing tracing::Subscriber to receive diagnostic events from a component, and then forwarding that data on to a diagnostics service.


Tag derived from metadata.
Errors arising while forwarding a diagnostics stream to the environment.
The severity of a given record.


Callback for interest listeners


Creates a publisher and installs it as the global default.
Converts a tracing level filter to diagnostics interest.