mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
This adds a --trace=file.json flag that outputs structured logs for: - node:fs operations (open, read, write) - Bun.write operations - fetch HTTP requests and responses - Response.body consumption The trace format is line-delimited JSON with: - ns: namespace for filtering (fs, bun_write, fetch, response_body) - ts: millisecond timestamp - data: operation-specific structured data This will be used by AI agents like Claude to understand what applications are doing without manually adding console.log calls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>