diff --git a/api.go b/api.go index db84e2309..008ef7ff3 100644 --- a/api.go +++ b/api.go @@ -94,14 +94,14 @@ func (server *ApiServer) Listen(host string, port string) { func (server *ApiServer) loggingMiddleware(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - server. - Logger. - Debug(). - Str("client", r.RemoteAddr). - Str("method", r.Method). - Str("uri", r.RequestURI). - Msg("") - next.ServeHTTP(w, r) + server. + Logger. + Debug(). + Str("client", r.RemoteAddr). + Str("method", r.Method). + Str("uri", r.RequestURI). + Msg("") + next.ServeHTTP(w, r) }) }