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

12
internal/app/logging.go Normal file
View File

@@ -0,0 +1,12 @@
package app
import (
"log/slog"
"os"
"gitlab.com/greyxor/slogor"
)
func setupLogging() *slog.Logger {
return slog.New(slogor.NewHandler(os.Stderr))
}