Skip to main content

panic_line

Function panic_line 

Source
fn panic_line(
    thread: Option<&str>,
    location: Option<(&str, u32, u32)>,
    payload: &str,
) -> String
Expand description

One log line describing a panic. Kept single-line (the log is read with grep) and bounded, and free of any std panic types so it can be tested.