Skip to content

Commit 10a35c5

Browse files
committed
Add comma
1 parent 43a35e2 commit 10a35c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/logger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func TestLoggerTemplate(t *testing.T) {
9191
e.Use(LoggerWithConfig(LoggerConfig{
9292
Format: `{"time":"${time_rfc3339_nano}","id":"${id}","remote_ip":"${remote_ip}","host":"${host}","user_agent":"${user_agent}",` +
9393
`"method":"${method}","uri":"${uri}","status":${status}, "latency":${latency},` +
94-
`"latency_human":"${latency_human}","bytes_in":${bytes_in}, "path":"${path}", "route":"${route}" "referer":"${referer}",` +
94+
`"latency_human":"${latency_human}","bytes_in":${bytes_in}, "path":"${path}", "route":"${route}", "referer":"${referer}",` +
9595
`"bytes_out":${bytes_out},"ch":"${header:X-Custom-Header}", "protocol":"${protocol}"` +
9696
`"us":"${query:username}", "cf":"${form:username}", "session":"${cookie:session}"}` + "\n",
9797
Output: buf,

0 commit comments

Comments
 (0)