Skip to content

Traverse-Research/panic-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚨 panic-log

Actions Status Latest version Documentation MSRV Lines of code MIT Contributor Covenant

Banner

A simple crate that allows you to write the panic message and backtrace to the output of the log macro as error, while providing the possibility to keep the original panic hooks.

Usage

Add this to your Cargo.toml:

[dependencies]
panic-log = "0.3.0"

Call this somewhere at the start of your program (after initializing your logger):

use panic_log::Configuration;
[...]
panic_log::initialize_hook(Configuration::default());

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages