fix default log format

`reset` field should be after `method` in LoggerWithWriter function.
This commit is contained in:
Danieliu 2016-05-26 16:21:50 +08:00
parent f931d1ea80
commit 30f014c754
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ func LoggerWithWriter(out io.Writer, notlogged ...string) HandlerFunc {
statusColor, statusCode, reset, statusColor, statusCode, reset,
latency, latency,
clientIP, clientIP,
methodColor, reset, method, methodColor, method, reset,
path, path,
comment, comment,
) )