1 unstable release

0.3.0 Oct 18, 2024

#934 in Debugging

Download history 94/week @ 2024-10-22 61/week @ 2024-10-29 38/week @ 2024-11-05 4/week @ 2024-11-12 80/week @ 2024-11-19 31/week @ 2024-11-26 65/week @ 2024-12-03 89/week @ 2024-12-10 61/week @ 2024-12-17 17/week @ 2024-12-31 42/week @ 2025-01-07 15/week @ 2025-01-14 4/week @ 2025-01-21 11/week @ 2025-01-28 29/week @ 2025-02-04

68 downloads per month

MIT license

5KB

🚨 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());

Dependencies

~86KB

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy