Skip to main content

capture

Function capture 

Source
pub fn capture(message: impl Into<String>) -> StackTrace
Expand description

The current thread’s backtrace as a Rust StackTrace with message. Frames come from std::backtrace::Backtrace::force_capture, so they need debug info to carry file locations.