MetricsLogger

interface MetricsLogger

Pluggable metrics logger for emitting structured metric events.

SDK host apps must provide an implementation (e.g., Bitdrift on Android) and pass it to zync.Zync.initialize.

Functions

Link copied to clipboard
abstract fun logMetric(name: String, fields: Map<String, String>)

Emit a metric with a stable name and structured fields.