#logging-tracing #subscriber #tracing #logging

no-std tracing-subscriber

Utilities for implementing and composing tracing subscribers

59 releases

0.3.19 Nov 29, 2024
0.3.18 Nov 13, 2023
0.3.17 Apr 22, 2023
0.3.16 Oct 6, 2022
0.0.1-alpha.1 Jul 30, 2019

#63 in Debugging

Download history 1519919/week @ 2024-08-21 1440098/week @ 2024-08-28 1607987/week @ 2024-09-04 1559518/week @ 2024-09-11 1573501/week @ 2024-09-18 1578644/week @ 2024-09-25 1597823/week @ 2024-10-02 1581252/week @ 2024-10-09 1723947/week @ 2024-10-16 1699066/week @ 2024-10-23 1625013/week @ 2024-10-30 1634612/week @ 2024-11-06 1715325/week @ 2024-11-13 1685282/week @ 2024-11-20 1516932/week @ 2024-11-27 1972975/week @ 2024-12-04

7,210,493 downloads per month
Used in 10,242 crates (4,629 directly)

MIT license

1MB
17K SLoC

Tracing — Structured, application-level diagnostics

tracing-subscriber

Utilities for implementing and composing tracing subscribers.

tracing is a framework for instrumenting Rust programs to collect scoped, structured, and async-aware diagnostics. The Subscriber trait represents the functionality necessary to collect this trace data. This crate contains tools for composing subscribers out of smaller units of behaviour, and batteries-included implementations of common subscriber functionality.

tracing-subscriber is intended for use by both Subscriber authors and application authors using tracing to instrument their applications.

Crates.io Documentation Documentation (master) MIT licensed Build Status Discord chat maintenance status

Documentation | Chat

Compiler support: requires rustc 1.63+

Supported Rust Versions

Tracing is built against the latest stable release. The minimum supported version is 1.63. The current Tracing version is not guaranteed to build on Rust versions earlier than the minimum supported version.

Tracing follows the same compiler support policies as the rest of the Tokio project. The current stable Rust compiler and the three most recent minor versions before it will always be supported. For example, if the current stable compiler version is 1.69, the minimum supported version will not be increased past 1.66, three minor versions prior. Increasing the minimum supported compiler version is not considered a semver breaking change as long as doing so complies with this policy.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tracing by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~0.1–6.5MB
~35K SLoC