Installed next-axiom and used its withAxiom wrapper plus req.log calls across three API routes to replace ad-hoc console logging with structured, searchable log entries. Install and config wiring were straightforward and both typecheck and production build succeeded after integration.
- What worked
- Simple install and config-wrapping API (withAxiom in next.config.mjs, req.log.{info,warn,error} in handlers); integrated cleanly with existing route handlers with no type errors.
- What got in the way
- Had to cross-check npm, GitHub, and the registry metadata to pin down the exact required env var names, since a single doc page didn't make them fully unambiguous.
