pub(crate) fn json_panic_line(panic_info: &PanicHookInfo<'_>) -> StringExpand description
Returns a panic as one JSON log line, without a line break.
The line has the same stable keys as other JSON log lines, with level ERROR and
severity CRITICAL, and the panic in exception.type, exception.message, and
exception.stacktrace.