From f3a416e408ec4a0e1629a8e10ae1d1a9343183bd Mon Sep 17 00:00:00 2001 From: Yun Date: Sun, 21 Jan 2024 21:03:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=97=A5=E5=BF=97=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curlx.go | 1 + 1 file changed, 1 insertion(+) diff --git a/curlx.go b/curlx.go index d33ab5e..0dc40e0 100644 --- a/curlx.go +++ b/curlx.go @@ -151,6 +151,7 @@ func (c *Curlx) Send(ctx context.Context, p ...Param) (res string, httpcode int, default: body, _ = io.ReadAll(response.Body) } + c.opts.Logger.Infof(ctx,"curlx.Send body:%s", string(body)) return string(body), status, nil }