gix-trace

A crate to provide minimal tracing support that can be turned off to zero cost

11 releases

0.1.10 Sep 6, 2024
0.1.9 Apr 13, 2024
0.1.8 Mar 14, 2024
0.1.7 Jan 15, 2024
0.1.2 Jun 29, 2023

#304 in Rust patterns

Download history 105701/week @ 2024-06-19 102093/week @ 2024-06-26 103378/week @ 2024-07-03 102580/week @ 2024-07-10 105692/week @ 2024-07-17 110362/week @ 2024-07-24 108795/week @ 2024-07-31 109468/week @ 2024-08-07 108569/week @ 2024-08-14 104802/week @ 2024-08-21 105923/week @ 2024-08-28 128608/week @ 2024-09-04 121593/week @ 2024-09-11 113158/week @ 2024-09-18 118249/week @ 2024-09-25 99209/week @ 2024-10-02

476,432 downloads per month
Used in 289 crates (13 directly)

MIT/Apache

41KB
1K SLoC

A crate providing macros for creating spans in various detail levels. coarse! should be used for top-level operations, whereas detail! should be used in plumbing crates unless their operations are likely to cost a lot of time.

The application is supposed to explicitly turn on tracing via gix-features. Crates that use gix-features should use gix_features::trace, and those who don't can use gix_trace directly.

Feature Flags

Dependencies

~86KB