From 617766d9478c0d35297b4cee9633905d7984b959 Mon Sep 17 00:00:00 2001 From: "Stephen M. Coakley" Date: Sat, 23 May 2020 22:25:07 -0500 Subject: [PATCH] Add note about tracing to docs --- src/lib.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ff7aca88..d0d90137 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -188,10 +188,13 @@ //! Enable the new middleware API. Unstable until the API is finalized. This an //! unstable feature whose interface may change between patch releases. //! -//! # Logging +//! # Logging and tracing //! -//! Isahc logs quite a bit of useful information at various levels using the -//! [log](https://docs.rs/log) crate. +//! Isahc logs quite a bit of useful information at various levels compatible +//! with the [log](https://docs.rs/log) crate. For even more in-depth +//! diagnostics, you can use a [tracing](https://docs.rs/tracing) subscriber to +//! track log events grouped by individual requests. This can be especially +//! useful if you are sending multiple requests concurrently. //! //! If you set the log level to `Trace` for the `isahc::wire` target, Isahc will //! also log all incoming and outgoing data while in flight. This may come in