Merge branch 'dev-lwl/fix' into test
This commit is contained in:
commit
8423865176
|
@ -91,7 +91,7 @@ func LoggerMiddleware(conf gin.LoggerConfig) gin.HandlerFunc {
|
||||||
bodyStr = string(body.([]byte))
|
bodyStr = string(body.([]byte))
|
||||||
}
|
}
|
||||||
logger.Info("%s params: %s", formatter(param), bodyStr)
|
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)
|
//logger.WithCtx(c.Request.Context()).Info("%s params: %s", formatter(param), bodyStr)
|
||||||
//if accessConf.LogResponseEnabled {
|
//if accessConf.LogResponseEnabled {
|
||||||
|
|
Loading…
Reference in New Issue