Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
appview/middleware: replace log package with structured slog logging master
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 Matías Insaurralde Committer Tangled Date (Apr 8, 2026, 4:59 AM UTC) Commit df56d3db df56d3db8aafa82d61fb18cb39af1036ea9078d4 Parent 0f576540 0f576540e383049410d2fe6dab9c9f068ade92cd