AbortHandler
A Log instance that, when installed (the default configuration), will handle finalization of Level.Fatal logs by aborting the program. This instance will always be the last Root.installed instance, giving a chance for all other installed Log instances to capture the log. If no other Log instances logged the Level.Fatal log, printStackTrace will be used to output the error before aborting.
Abort handling is performed in the following manner:
Android: android.util.Log.wtf
Jvm/AndroidUnitTest: Runtime.halt
Js/WasmJs:
Browser: Throw exception
Node.js: process.abort
WasmWasi: proc_exit
Native:
Android:
API 30+: __android_log_call_aborter
API 29-: abort
Darwin/Linux/MinGW: abort
Properties
Checks if AbortHandler is installed at Root.
The AbortHandler.uid (i.e. io.matthewnelson.kmp.log.Log.AbortHandler)