Skip to content

Commit 5f70a58

Browse files
committed
Add json-subscriber to ecosystem
1 parent bdbaf80 commit 5f70a58

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tracing/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ maintained by the `tokio` project. These include:
379379
- [`sentry-tracing`] provides a layer for reporting events and traces to [Sentry].
380380
- [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki].
381381
- [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format.
382+
- [`json-subscriber`] provides a layer for emitting JSON logs. The output can be customized much more than with [`FmtSubscriber`]'s JSON output.
382383

383384
If you're the maintainer of a `tracing` ecosystem crate not listed above,
384385
please let us know! We'd love to add your project to the list!
@@ -410,6 +411,7 @@ please let us know! We'd love to add your project to the list!
410411
[`tracing-loki`]: https://crates.io/crates/tracing-loki
411412
[Grafana Loki]: https://grafana.com/oss/loki/
412413
[`tracing-logfmt`]: https://crates.io/crates/tracing-logfmt
414+
[`json-subscriber`]: https://crates.io/crates/json-subscriber
413415

414416
**Note:** that some of the ecosystem crates are currently unreleased and
415417
undergoing active development. They may be less stable than `tracing` and

tracing/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,7 @@
817817
//! - [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests.
818818
//! - [`tracing-cloudwatch`] provides a layer that sends events to AWS CloudWatch Logs.
819819
//! - [`clippy-tracing`] provides a tool to add, remove and check for `tracing::instrument`.
820+
//! - [`json-subscriber`] provides a subscriber for emitting JSON logs. The output can be customized much more than with [`tracing-subscriber`]'s JSON output.
820821
//!
821822
//! If you're the maintainer of a `tracing` ecosystem crate not listed above,
822823
//! please let us know! We'd love to add your project to the list!

0 commit comments

Comments
 (0)