package middlewares import ( "net/http" "gitea.konchin.com/ytshih/inp2025/game/tracing" "github.com/uptrace/bunrouter" ) func (self *Handlers) AccessLog( next bunrouter.HandlerFunc, ) bunrouter.HandlerFunc { return func(w http.ResponseWriter, req bunrouter.Request) error { tracing.Logger.Ctx(req.Context()). Info(req.Method + " " + req.Params().Route()) return next(w, req) } }