Skip to main content

try_with_log_text

Function try_with_log_text 

Source
pub fn try_with_log_text<R>(f: impl FnOnce(&str) -> R) -> Option<R>
Expand description

The log captured so far, unflushed, for a panic hook: None when no log is bound or the panic holds the buffer.