Skip to main content

install

Function install 

Source
pub fn install()
Expand description

Install the logging panic hook. Idempotent; safe to call from every entry point.

Call this after the tracing subscriber is initialised — a panic logged before there is a subscriber goes to the same place the panic would have gone, which is nowhere.