mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package middleware
|
||||
|
||||
import (
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/fiber/v2/middleware/logger"
|
||||
)
|
||||
|
||||
func LoggerConfig() fiber.Handler {
|
||||
return logger.New(logger.Config{
|
||||
Format: "${time} ${method} ${status} ${path} in ${latency}\n",
|
||||
TimeFormat: "15:04:05.00",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user