namatoj / sociallink

0 stars 0 forks source link

refactor(web): structured loggin in web app main #15

Open simondmansson opened 4 months ago

simondmansson commented 4 months ago

Use the go standard slog package to add structured logging On startup we log app version and if it's in production mode.

Pocket base extends slog. So in the app we can call app.Logger().Info etc when needed.