From 089a050ac5fedf2ed93de13a6da2f20d7a426857 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 9 Dec 2024 09:14:25 +0000 Subject: [PATCH] feat(net): trace log the body of a request --- src/net/system.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/system.rs b/src/net/system.rs index 4a7d38a..fec2dfa 100644 --- a/src/net/system.rs +++ b/src/net/system.rs @@ -439,6 +439,7 @@ impl<'net> ReqBuilder<'net> { #[must_use] pub fn body(mut self, bytes: impl Into) -> Self { self.body = Some(bytes.into()); + tracing::trace!(body = ?self.body); self }