fix: issues
This commit is contained in:
@@ -6,9 +6,12 @@ import (
|
||||
)
|
||||
|
||||
func (f *Middlewares) DebugMode(ctx fiber.Ctx) error {
|
||||
log.Info("------------------")
|
||||
log.Infof("c.Path: %s", ctx.Path())
|
||||
log.Infof("Request Method: %s", ctx.Method())
|
||||
log.Infof("FullURL: %s", ctx.Request().URI().FullURI())
|
||||
log.Infof("StartPATH: %s", ctx.Params("*"))
|
||||
log.Info("------------------")
|
||||
|
||||
return ctx.Next()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user