Browse Source

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

Sai 7 years ago
parent
commit
b4f5155982
1 changed files with 1 additions and 1 deletions
  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))
 		}
 	}
 }