Expand description
install_panic_hook — emits one ObsPanicked event then calls
Observer::shutdown_blocking(2s) so the inflight sinks have a
chance to flush before the prior hook (potentially panic = abort)
takes the process down.
Spec 11 § 6.1.
Functions§
- install_
panic_ hook - Install the obs panic hook. Idempotent — calling more than once is a no-op.