Feat: login done
This commit is contained in:
@@ -7,7 +7,9 @@ import (
|
||||
"github.com/uptrace/bunrouter"
|
||||
)
|
||||
|
||||
func AccessLog(next bunrouter.HandlerFunc) bunrouter.HandlerFunc {
|
||||
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())
|
||||
|
||||
Reference in New Issue
Block a user