Expand description
Panic hooks that log application panics and trigger shutdown.
Functionsยง
- init_
graceful_ panic_ handler - Installs a panic hook that writes the panic info and backtrace to
application-panic.logand then triggers a graceful runtime abort. - init_
ungraceful_ panic_ handler - Installs a panic hook that writes the panic info and backtrace to
service-panic.logand then exits the process immediately.