Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
appview/middleware: replace log package with structured slog logging
Add logger *slog.Logger to Middleware struct and thread it through New(). Replace all log.Println/log.Printf calls with mw.logger.Error/Warn using structured key-value pairs. Standalone functions (AuthMiddleware, Paginate) use slog.Default() to avoid signature breakage. Update router.go call site to pass s.logger. Signed-off-by: Matías Insaurralde <matias@insaurral.de>
Author Committer Tangled Date (Apr 8, 2026, 4:59 AM UTC) Commit
Copy SHA
Parent 0f576540 0f576540e383049410d2fe6dab9c9f068ade92cd