fixup logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-04-09 23:57:44 +03:00
parent 0eb663fffe
commit a648bf77f4

View File

@ -217,7 +217,7 @@ func newRequest(ctx context.Context, log logger.Logger, addr string, req client.
} }
if log.V(logger.DebugLevel) { 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 return hreq, nil