perf(logger): use io.WriteString for log output

This commit is contained in:
huynhanx03 2026-05-11 15:02:58 +07:00
parent 5f4f964325
commit eb2cf6febf
No known key found for this signature in database

View File

@ -309,6 +309,6 @@ func LoggerWithConfig(conf LoggerConfig) HandlerFunc {
param.Path = path param.Path = path
fmt.Fprint(out, formatter(param)) _, _ = io.WriteString(out, formatter(param))
} }
} }