1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

balance double-quotes in json (#1232)

This commit is contained in:
skrassiev 2018-12-05 08:13:48 -08:00 committed by Vishal Rana
parent a8de73efbe
commit 3f8b45c8d0

View File

@ -70,7 +70,7 @@ var (
Skipper: DefaultSkipper,
Format: `{"time":"${time_rfc3339_nano}","id":"${id}","remote_ip":"${remote_ip}",` +
`"host":"${host}","method":"${method}","uri":"${uri}","user_agent":"${user_agent}",` +
`"status":${status},"error":"${error}","latency":${latency}","latency_human":"${latency_human}"` +
`"status":${status},"error":"${error}","latency":${latency},"latency_human":"${latency_human}"` +
`,"bytes_in":${bytes_in},"bytes_out":${bytes_out}}` + "\n",
CustomTimeFormat: "2006-01-02 15:04:05.00000",
Output: os.Stdout,