feat(net): trace log the body of a request
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 3m51s
Test / build (map[name:stable]) (push) Successful in 5m46s
Release Please / Release-plz (push) Successful in 42s

This commit is contained in:
Paul Campbell 2024-12-09 09:14:25 +00:00
parent 8534eca219
commit 089a050ac5

View file

@ -439,6 +439,7 @@ impl<'net> ReqBuilder<'net> {
#[must_use]
pub fn body(mut self, bytes: impl Into<Bytes>) -> Self {
self.body = Some(bytes.into());
tracing::trace!(body = ?self.body);
self
}