pamoja for TypeScript - v0.1.17
    Preparing search index...

    Interface TelemetryEvent

    A structured telemetry event.

    The code is a stable, short label such as battery.low rather than a free-form message, so events stay small and group cleanly into counts.

    interface TelemetryEvent {
        code: string;
        level: Level;
        value?: number;
    }
    Index
    code: string

    A stable, short identifier for what happened.

    level: Level

    How urgent the event is.

    value?: number

    An optional measurement, such as the charge that triggered it.