Skip to content

Commit 2ee06db

Browse files
Merge pull request gin-gonic#627 from liudanking/develop
Fix log color reset
2 parents c995473 + 30f014c commit 2ee06db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func LoggerWithWriter(out io.Writer, notlogged ...string) HandlerFunc {
9292
statusColor, statusCode, reset,
9393
latency,
9494
clientIP,
95-
methodColor, reset, method,
95+
methodColor, method, reset,
9696
path,
9797
comment,
9898
)

0 commit comments

Comments
 (0)