From a648bf77f4c34afdc2dba3633cb9596f16c732c3 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 9 Apr 2024 23:57:44 +0300 Subject: [PATCH] fixup logger Signed-off-by: Vasiliy Tolstov --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.go b/http.go index 912db40..2b7c0f3 100644 --- a/http.go +++ b/http.go @@ -217,7 +217,7 @@ func newRequest(ctx context.Context, log logger.Logger, addr string, req client. } if log.V(logger.DebugLevel) { - log.Debugf(ctx, "request %s to %s with headers %v body %s", method, u.String(), hreq.Header, b) + log.Debug(ctx, fmt.Sprintf("request %s to %s with headers %v body %s", method, u.String(), hreq.Header, b)) } return hreq, nil