log-panics 2.1.0

A panic hook which logs panic messages rather than printing them
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate env_logger;
extern crate log_panics;

fn main() {
    env_logger::init();
    log_panics::init();

    foo();
}

fn foo() {
    panic!();
}