Skip to content

Commit

Permalink
log out body in trace level
Browse files Browse the repository at this point in the history
Signed-off-by: Chengxuan Xing <[email protected]>
  • Loading branch information
Chengxuan committed Dec 5, 2023
1 parent 88b4240 commit 1a06fb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ffresty/ffresty.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down

0 comments on commit 1a06fb4

Please sign in to comment.