#log #logging #panic #hook #printing #logs

log-panics

A panic hook which logs panic messages rather than printing them

4 stable releases

Uses old Rust 2015

2.0.0 Dec 25, 2017
1.2.0 Aug 5, 2017
1.1.0 Dec 10, 2016
1.0.0 Jul 20, 2016
Download history 3847/week @ 2021-01-16 3848/week @ 2021-01-23 3897/week @ 2021-01-30 4169/week @ 2021-02-06 4570/week @ 2021-02-13 4101/week @ 2021-02-20 5162/week @ 2021-02-27 4585/week @ 2021-03-06 5388/week @ 2021-03-13 4288/week @ 2021-03-20 3997/week @ 2021-03-27 3761/week @ 2021-04-03 4123/week @ 2021-04-10 3710/week @ 2021-04-17 3631/week @ 2021-04-24 3413/week @ 2021-05-01

16,221 downloads per month
Used in 23 crates (20 directly)

MIT/Apache

7KB
65 lines

rust-log-panics

CircleCI

Documentation

A panic hook which logs panics rather than printing them.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

A crate which logs panics instead of writing to standard error.

The format used is identical to the standard library's. If the with-backtrace Cargo feature is enabled, a backtrace will be printed along with the panic message.

Dependencies

~51–550KB
~11K SLoC