suppress_panics

Function suppress_panics 

Source
pub fn suppress_panics()
Expand description

Call this early in main() to suppress panics when a cycle is detected and print the lock cycles to stderr instead.

This is not as useful a mechanism for detecting issues as a panic, but it is useful for incrementally rolling out usage of tracing-mutex to many programs that use a shared crate.