Skip to content

Commit

Permalink
Merge pull request #68 from ianmcorvidae/add-logger
Browse files Browse the repository at this point in the history
Add the Logger middleware
  • Loading branch information
ianmcorvidae authored Jul 18, 2024
2 parents 4c5d0b9 + 12bc678 commit ca980eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"k8s.io/client-go/kubernetes"

"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
)

// ExposerApp encapsulates the overall application-logic, tying together the
Expand Down Expand Up @@ -148,6 +149,7 @@ func NewExposerApp(init *ExposerAppInit, apps *apps.Apps, c *koanf.Koanf) *Expos
}

app.router.Use(otelecho.Middleware("app-exposer"))
app.router.Use(middleware.Logger())

ilInit := &instantlaunches.Init{
UserSuffix: init.UserSuffix,
Expand Down

0 comments on commit ca980eb

Please sign in to comment.