mirror of
https://github.com/labstack/echo.git
synced 2025-01-12 01:22:21 +02:00
balance double-quotes in json (#1232)
This commit is contained in:
parent
a8de73efbe
commit
3f8b45c8d0
@ -70,7 +70,7 @@ var (
|
|||||||
Skipper: DefaultSkipper,
|
Skipper: DefaultSkipper,
|
||||||
Format: `{"time":"${time_rfc3339_nano}","id":"${id}","remote_ip":"${remote_ip}",` +
|
Format: `{"time":"${time_rfc3339_nano}","id":"${id}","remote_ip":"${remote_ip}",` +
|
||||||
`"host":"${host}","method":"${method}","uri":"${uri}","user_agent":"${user_agent}",` +
|
`"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",
|
`,"bytes_in":${bytes_in},"bytes_out":${bytes_out}}` + "\n",
|
||||||
CustomTimeFormat: "2006-01-02 15:04:05.00000",
|
CustomTimeFormat: "2006-01-02 15:04:05.00000",
|
||||||
Output: os.Stdout,
|
Output: os.Stdout,
|
||||||
|
Loading…
Reference in New Issue
Block a user