Browse Source

Merge pull request #627 from liudanking/develop

Fix log color reset
Javier Provecho Fernandez 9 năm trước cách đây
mục cha
commit
2ee06db79a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      logger.go

+ 1 - 1
logger.go

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