Closed kwaa closed 3 months ago
The changes primarily introduce pretty formatting for tracing logs across the backend and tracing crates. This includes adding a pretty
feature to Cargo files, refining trace layer configurations, and conditional pretty formatting in tracing initialization. Additionally, a typo correction improves clarity.
Files | Change Summaries |
---|---|
Cargo.toml |
Added "hatsu_tracing/pretty" as a default feature, introduced tracing_pretty and corrected a typo from tracing_conosle to tracing_console . |
crates/backend/src/lib.rs |
Imported Level from tracing and enhanced TraceLayer usage for span and response configurations. |
crates/tracing/Cargo.toml |
Added pretty as a new dependency. |
crates/tracing/src/lib.rs |
Updated init() function to conditionally include pretty formatting based on a feature flag. |
In fields of code where changes grow, The rabbit's hop did graceful flow. Pretty traces now in sight, Logging spans with pure delight. Errors' paths we now can see, With formatted logs, debug with glee. 🐇✨
Keep hopping! 🐰
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
tracing_pretty
feature for enhanced logging with pretty formatting.Bug Fixes
tracing_conosle
totracing_console
.Improvements