Class CrashHandler
- Namespace
- SunamoLogging.Bootstrap
- Assembly
- SunamoLogging.dll
Registers global handlers for unhandled exceptions and unobserved task exceptions that append a structured crash record (timestamp, app/runtime/OS info, full stack trace) to a single crash log file.
public static class CrashHandler
- Inheritance
-
CrashHandler
- Inherited Members
Methods
Register(string)
Subscribes to AppDomain.UnhandledException and TaskScheduler.UnobservedTaskException. Idempotent — second call updates the target file but does not double-subscribe.
public static void Register(string crashFilePath)
Parameters
crashFilePathstring