tree: 4a298925983a5cc279a13e603cc5d4a2325b6efd [path history] [tgz]
  1. mod.rs
  2. README.md
src/ui/lib/input_pipeline/src/metrics/README.md

Input Pipeline Lib: Metrics Logging

This library is meant to provide helper functions for logging in Input Pipeline code.

Cobalt logging

Currently, all the helper functions in this library are utility functions for initializing and using Cobalt logger for Input Pipeline specific metrics.

Any component that uses this library should have access to the MetricEventLoggerFactory capability. For example:

// Component manifest for a component that uses this library.
{
    ...
    use: [
        ...
        {
            protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ],
        },
    ],
    ...
}