#git #version-control #trace #cli #level

gix-trace

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

5 releases

new 0.1.4 Dec 6, 2023
0.1.3 Jul 22, 2023
0.1.2 Jun 29, 2023
0.1.1 Jun 22, 2023
0.1.0 Jun 16, 2023

#170 in Debugging

Download history 27102/week @ 2023-08-16 27915/week @ 2023-08-23 50350/week @ 2023-08-30 66460/week @ 2023-09-06 69177/week @ 2023-09-13 73871/week @ 2023-09-20 79862/week @ 2023-09-27 79199/week @ 2023-10-04 81365/week @ 2023-10-11 77168/week @ 2023-10-18 78379/week @ 2023-10-25 75599/week @ 2023-11-01 80006/week @ 2023-11-08 68420/week @ 2023-11-15 53369/week @ 2023-11-22 56007/week @ 2023-11-29

271,051 downloads per month
Used in 171 crates (11 directly)

MIT/Apache

39KB
1K SLoC

A crate providing macros for creating spans in various detail levels. coarse! shoudl 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

~87KB