addTelemetry MethodStatic

Add a "telemetry tracker" for unexpected errors. Useful for tracking/reporting errors without changing handler.

addTelemetry(tracker: OnUnexpectedError): () => void

@returns a method to remove the tracker

Parameter Type Description
tracker OnUnexpectedError  

Returns - () => void

a method to remove the tracker

Defined in

Last Updated: 23 November, 2024