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

This commit is contained in:
Sai 2019-01-20 09:39:09 +09:00 committed by 田欧
parent 4867ff9634
commit b4f5155982
1 changed files with 1 additions and 1 deletions

View File

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