From b53e143076ca4c77813f58a16c47264c0f891d1e Mon Sep 17 00:00:00 2001 From: Jan Galek Date: Wed, 18 Dec 2024 03:19:01 +0100 Subject: [PATCH] [Remove] logging status code --- diagoMiddleware.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/diagoMiddleware.go b/diagoMiddleware.go index 605d4ce..5333427 100644 --- a/diagoMiddleware.go +++ b/diagoMiddleware.go @@ -6,7 +6,6 @@ import ( "github.com/gin-gonic/gin" "github.com/gouef/router" "html/template" - "log" "net/http" ) @@ -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) } }