Trait terminate::ParsedPanicErrorLogger[][src]

pub trait ParsedPanicErrorLogger: Send + Sync {
    fn log(&self, parsed_panic: ParsedPanic<'_>);
}

Logs panics.

Should assume as little as possible about environment sanity.

Required methods

fn log(&self, parsed_panic: ParsedPanic<'_>)[src]

Log.

May be called more than once from different threads but should only ever be called once or never for each thread

May not be called 'in order', eg:-

  • may be called twice, but,
  • second call is actually the error from the thread that caused the panic and termination to start.
Loading content...

Implementors

Loading content...