feat(net): trace log the body of a request
This commit is contained in:
parent
8534eca219
commit
089a050ac5
1 changed files with 1 additions and 0 deletions
|
@ -439,6 +439,7 @@ impl<'net> ReqBuilder<'net> {
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn body(mut self, bytes: impl Into<Bytes>) -> Self {
|
pub fn body(mut self, bytes: impl Into<Bytes>) -> Self {
|
||||||
self.body = Some(bytes.into());
|
self.body = Some(bytes.into());
|
||||||
|
tracing::trace!(body = ?self.body);
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue