TelemetrySinkRegistry
object TelemetrySinkRegistry
Holds the TelemetrySink that SDK modules send events to. The initial sink is NoOpTelemetrySink.
Register a sink at app startup, before concurrent use. Concurrent registration is not supported.
Since
0.1.0
Properties
Link copied to clipboard
The current sink. It is NoOpTelemetrySink until you register one.
Functions
Link copied to clipboard
Sets the current sink, replacing the previous one.
Link copied to clipboard
Sets the current sink back to NoOpTelemetrySink.