This commit is contained in:
DeveloperDurp 2024-09-02 14:08:54 -05:00
parent 73830d57b8
commit b4562a1da4
13 changed files with 89 additions and 130 deletions

View file

@ -27,7 +27,6 @@ func Logging(next http.Handler) http.Handler {
}
next.ServeHTTP(wrapped, r)
log.Info("INFO", wrapped.statusCode, r.Method, r.URL.Path, time.Since(start))
log.Error("INFO", wrapped.statusCode, r.Method, r.URL.Path, time.Since(start))
})
}