mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2025-04-04 05:43:33 +03:00
move gin to handler field
This commit is contained in:
parent
7d1f722a9e
commit
2455c11704
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ func GinMiddleware(log Logger) gin.HandlerFunc {
|
|||
path = path + "?" + raw
|
||||
}
|
||||
|
||||
log.Info("[GIN] request",
|
||||
log.Info("request",
|
||||
slog.String(HandlerAttr, "GIN"),
|
||||
slog.String("startTime", start.Format(time.RFC3339)),
|
||||
slog.String("endTime", end.Format(time.RFC3339)),
|
||||
slog.Any("latency", end.Sub(start)/time.Millisecond),
|
||||
|
|
Loading…
Add table
Reference in a new issue