#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

13 releases

0.1.12 Jan 18, 2025
0.1.11 Oct 22, 2024
0.1.10 Sep 6, 2024
0.1.9 Apr 13, 2024
0.1.3 Jul 22, 2023

#100 in Procedural macros

Download history 121761/week @ 2024-10-22 121080/week @ 2024-10-29 125323/week @ 2024-11-05 127830/week @ 2024-11-12 137530/week @ 2024-11-19 138625/week @ 2024-11-26 165154/week @ 2024-12-03 164301/week @ 2024-12-10 149661/week @ 2024-12-17 104157/week @ 2024-12-24 121632/week @ 2024-12-31 167491/week @ 2025-01-07 169118/week @ 2025-01-14 168477/week @ 2025-01-21 165797/week @ 2025-01-28 153285/week @ 2025-02-04

683,158 downloads per month
Used in 343 crates (16 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