pub fn install_panic_hook()Expand description
Install the process-wide panic hook, once.
Every panic is one ERROR line in the tracing log, and the previous hook still runs so stderr keeps its behaviour. Installed after the tracing subscriber and before anything is spawned, so a panic in the boot wave is recorded rather than lost.