Refactor link repository and improve logging

This commit is contained in:
Andrey Chervyakov 2021-03-18 20:53:59 +06:00
parent ddaf0dcbfc
commit 458ae28901
7 changed files with 63 additions and 19 deletions

View file

@ -26,7 +26,7 @@ func Logger() echo.MiddlewareFunc {
Str("user_agent", req.UserAgent()).
Int("status", res.Status).
Str("latency", stop.Sub(start).String()).
Send()
Msg("Request")
return
}