Merge branch 'dev-lwl/fix' into test

This commit is contained in:
lwl0608 2024-05-06 10:29:44 +08:00
commit 8423865176
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func LoggerMiddleware(conf gin.LoggerConfig) gin.HandlerFunc {
bodyStr = string(body.([]byte))
}
logger.Info("%s params: %s", formatter(param), bodyStr)
logger.Info("%s response: %s", formatter(param), blw.body.String())
//logger.Info("%s response: %s", formatter(param), blw.body.String())
//logger.WithCtx(c.Request.Context()).Info("%s params: %s", formatter(param), bodyStr)
//if accessConf.LogResponseEnabled {