feat(oxfmt): trace which files are being formatted via OXC_LOG=debug#16627
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds debug-level tracing to show which files are being formatted when using OXC_LOG=debug environment variable. The change enables users to monitor formatting progress and troubleshoot issues by seeing exactly which files are being processed.
- Adds
tracingcrate dependency to the workspace and oxfmt - Inserts a debug log statement before formatting each file
- Updates
tracingand related crate versions in Cargo.lock
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/oxfmt/src/cli/service.rs | Adds debug log statement to trace file formatting with relative path display |
| apps/oxfmt/Cargo.toml | Adds tracing crate dependency from workspace |
| Cargo.toml | Defines tracing version 0.1.43 in workspace dependencies |
| Cargo.lock | Updates tracing, tracing-attributes, and tracing-core to latest patch versions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
CodSpeed Performance ReportMerging #16627 will degrade performances by 3.06%Comparing Summary
Benchmarks breakdown
Footnotes
|
Merge activity
|
92fc10a to
feffe48
Compare
closes #16607