Explorar el Código

Merge pull request #627 from liudanking/develop

Fix log color reset
Javier Provecho Fernandez hace 9 años
padre
commit
2ee06db79a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,
 			)