pub fn write_crash_log(
dir: &Path,
info_text: &str,
journal_tail: &[String],
) -> Result<PathBuf>Expand description
Writes crash-<timestamp>.log in dir: the panic message and
location, a backtrace, and the redacted journal tail. The name has
milliseconds and the process id, so two crashes do not overwrite each
other. Returns the file path.
ยงErrors
Returns the file system error.