Structured logging cover

Structured Logging for AI Debugging

When an AI coding assistant tries to help you debug a production issue, it reads your logs. If your logs are scattered console.log calls with inconsistent formatting, the AI can’t help you. It doesn’t know which log lines belong to the same request, what the timing was, or what the error context means. Evlog is a structured logging library by Hugo Richard, designed around the “wide event” pattern. One structured event per request, with all context attached. I’ve been using it in my projects and it’s particularly useful when you’re debugging with AI tools, because the log output is machine-readable by design. ...

March 5, 2026 · 4 min · Muhammad Hassan Raza