mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 01:57:55 +08:00
Merge 41a00d25e0aa3aa2a32c0286c31837519b39ecbe into d6b2c13b18cc0986e579e100bc47f3704a0d3bcd
This commit is contained in:
commit
c9302e104d
@ -104,7 +104,7 @@ func LoggerWithWriter(out io.Writer, notlogged ...string) HandlerFunc {
|
|||||||
path = path + "?" + raw
|
path = path + "?" + raw
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(out, "[GIN] %v |%s %3d %s| %13v | %15s |%s %-7s %s %s\n%s",
|
fmt.Fprintf(out, "[GIN] %v |%s %3d %s| %13v | %39s |%s %-7s %s %s\n%s",
|
||||||
end.Format("2006/01/02 - 15:04:05"),
|
end.Format("2006/01/02 - 15:04:05"),
|
||||||
statusColor, statusCode, resetColor,
|
statusColor, statusCode, resetColor,
|
||||||
latency,
|
latency,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user