-
public interface IOtelCrashHandlerPlatform-agnostic crash handler interface. This should be initialized as early as possible and be independent of service architecture.
-
-
Method Summary
Modifier and Type Method Description abstract Unitinitialize()Initialize the crash handler. abstract Unitunregister()Unregisters this crash handler, restoring the previous default handler. -
-
Method Detail
-
initialize
abstract Unit initialize()
Initialize the crash handler. This should be called as early as possible, before any other initialization that might crash.
-
unregister
abstract Unit unregister()
Unregisters this crash handler, restoring the previous default handler. Safe to call even if initialize was never called (no-op in that case).
-
-
-
-