Merge 41a00d25e0aa3aa2a32c0286c31837519b39ecbe into d6b2c13b18cc0986e579e100bc47f3704a0d3bcd

This commit is contained in:
Frederik Ring 2018-11-16 12:09:33 +00:00 committed by GitHub
commit c9302e104d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ func LoggerWithWriter(out io.Writer, notlogged ...string) HandlerFunc {
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"),
statusColor, statusCode, resetColor,
latency,