TelemetryBackend

A destination for logged values: a log file, a live server, a test double.

Register one with TelemetryRegistry.register. Robot code never sees backends. It logs to a TelemetryTable, and the registry sends each value to the backends registered.

A backend must be thread-safe.

Inheritors

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun entry(path: String, type: TelemetryType, properties: Map<String, Any> = emptyMap()): TelemetryEntry

Returns the entry for path, creating it if this backend hasn't seen the path.