package utils import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/logger" ) func ActivateLogger(app *fiber.App) { if LOGGING == "true" { app.Use(logger.New()) } }