Closed FMotalleb closed 4 months ago
This update enhances logging capabilities across the project by integrating slog
for structured, asynchronous logging. It introduces new dependencies, updates existing files to utilize slog
logging levels, and modifies plugin commands to handle log levels dynamically. The changes aim to provide more detailed and efficient debugging and tracing options.
File Path | Change Summary |
---|---|
Cargo.toml , nupm.nuon |
Updated dependencies and version bump. |
build.nu , src/main.rs |
Enhanced feature naming and command adjustments for log levels. |
src/ansi_to_image/... , src/logging/... |
Transitioned from custom logging to slog , added new logging macros, and adjusted usage across multiple modules. |
🐰✨ A hop, a skip, a code deploy, Logs align like stars in the sky. Trace, debug, let errors fly, With every log, our bugs say goodbye! 🌟📜🔍
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?
changed logging system from
eprintln
toslog
due to this change--verbose (-v)
switch is removed added--log-level
named parameter that sets log level (CRITICAL (c)
ERROR (e)
WARN (w)
INFO (i)
DEBUG (d)
TRACE (t)
) defaults to INFO trace logging and debug logging are disabled in the release mod (to enable these you have to use corresponding features (with-debug || with-trace)