zng_app::crash_handler

Function restart_count

source
pub fn restart_count() -> usize
Expand description

Gets the number of crash restarts in the app-process.

Always returns zero if called in other processes.