-
public interface IOtelCrashReporterPlatform-agnostic crash reporter interface.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsaveCrash(Thread thread, Throwable throwable)Records a fatal, crash-class event on the retained, disk-buffered crash telemetry (Severity.FATAL). abstract UnitsaveNonFatal(Thread thread, Throwable throwable)Records a non-fatal event on the same retained, disk-buffered crash telemetry, but at Severity.WARN and tagged as non-fatal, so it stays out of any severity-based crash/ANR metric while remaining queryable. -
-
Method Detail
-
saveCrash
abstract Unit saveCrash(Thread thread, Throwable throwable)
Records a fatal, crash-class event on the retained, disk-buffered crash telemetry (Severity.FATAL). Use for real crashes and foreground ANRs.
-
saveNonFatal
abstract Unit saveNonFatal(Thread thread, Throwable throwable)
Records a non-fatal event on the same retained, disk-buffered crash telemetry, but at Severity.WARN and tagged as non-fatal, so it stays out of any severity-based crash/ANR metric while remaining queryable. Use for backgrounded main-thread blocks and other retained warnings that are not user-visible crashes.
-
-
-
-