#tracing #git #version-control #gix #operations #level #trace

gix-trace

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

12 releases

0.1.11 Oct 22, 2024
0.1.10 Sep 6, 2024
0.1.9 Apr 13, 2024
0.1.8 Mar 14, 2024
0.1.2 Jun 29, 2023

#90 in Procedural macros

Download history 110843/week @ 2024-08-08 107199/week @ 2024-08-15 106193/week @ 2024-08-22 106183/week @ 2024-08-29 132091/week @ 2024-09-05 120093/week @ 2024-09-12 111193/week @ 2024-09-19 119846/week @ 2024-09-26 114997/week @ 2024-10-03 116042/week @ 2024-10-10 125568/week @ 2024-10-17 121507/week @ 2024-10-24 118458/week @ 2024-10-31 130231/week @ 2024-11-07 129158/week @ 2024-11-14 139343/week @ 2024-11-21

538,508 downloads per month
Used in 307 crates (14 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