pub fn init_hook()
Expand description
Enables a global panic hook which will log the panic/backtrace before exiting the process. This replaces the default behavior where only the panicing thread is exited, which would leave things running in a degraded state in the context of multiple worker threads.