From a0ebb46542ede2d235ca6094135a6d6d01d0ecb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Fri, 27 Aug 2021 00:19:11 +0200 Subject: [PATCH] add trace to sending requests --- src/macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/macros.rs b/src/macros.rs index 5fadbb1..94669f3 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -4,6 +4,7 @@ macro_rules! methods { pub async fn $method serde::Deserialize<'de>>(&self, url: String) -> Result { + log::trace!("{} {}", stringify!($method), url); let response = self.send( self.http_client.$method(&url) ).await?;