From 1a06fb4a4ce65cba4f78d01dd2b1d65f12007013 Mon Sep 17 00:00:00 2001 From: Chengxuan Xing Date: Tue, 5 Dec 2023 08:32:30 +0000 Subject: [PATCH] log out body in trace level Signed-off-by: Chengxuan Xing --- pkg/ffresty/ffresty.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/ffresty/ffresty.go b/pkg/ffresty/ffresty.go index f9909c9..cf83ef0 100644 --- a/pkg/ffresty/ffresty.go +++ b/pkg/ffresty/ffresty.go @@ -200,6 +200,7 @@ func NewWithConfig(ctx context.Context, ffrestyConfig Config) (client *resty.Cli } log.L(rCtx).Debugf("==> %s %s%s", req.Method, url, req.URL) + log.L(rCtx).Tracef("==> (body) %+v", req.Body) return nil })