Skip to content

Commit

Permalink
[Remove] logging status code
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Dec 18, 2024
1 parent db0fb5f commit b53e143
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions diagoMiddleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/gin-gonic/gin"
"github.com/gouef/router"
"html/template"
"log"
"net/http"
)

Expand Down Expand Up @@ -77,9 +76,6 @@ func DiagoMiddleware(r *router.Router, d *Diago) gin.HandlerFunc {

c.Writer = originalWriter
c.Writer.Write(responseBuffer.Bytes())

status := c.Writer.Status()
log.Printf("Status: %d", status)
}
}

Expand Down

0 comments on commit b53e143

Please sign in to comment.