-
-
Notifications
You must be signed in to change notification settings - Fork 763
feat(oxfmt): trace which files are being formatted via OXC_LOG=debug
#16627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(oxfmt): trace which files are being formatted via OXC_LOG=debug
#16627
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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