chore: add logger
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-06 21:52:07 +01:00
parent 7f64ff3b85
commit fda6d10897
6 changed files with 54 additions and 4 deletions

19
internal/app/app.go Normal file
View File

@@ -0,0 +1,19 @@
package app
import (
"log/slog"
)
type App struct {
logger *slog.Logger
}
func NewApp() *App {
return &App{
logger: setupLogging(),
}
}
func (a *App) Logger() *slog.Logger {
return a.logger
}