Ver Fonte

Fix not to pass formatted string to Fprintf's format specifier parameter (#1747)

Sai há 7 anos atrás
pai
commit
b4f5155982
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      logger.go

+ 1 - 1
logger.go

@@ -191,7 +191,7 @@ func LoggerWithConfig(conf LoggerConfig) HandlerFunc {
 
 			param.Path = path
 
-			fmt.Fprintf(out, formatter(param))
+			fmt.Fprint(out, formatter(param))
 		}
 	}
 }