Skip to main content

log_panics

Function log_panics 

Source
pub(crate) fn log_panics()
Expand description

Send the message of every panic to the journal before the default hook prints it. The release builds abort on a panic, and the forked server has /dev/null as its stderr unless it logs to stdout, so the message would get lost. It bypasses tracing, as its subscriber may be what panicked.