defmt ("de format", short for "deferred formatting") is a highly efficient logging framework that targets resource-constrained devices, like microcontrollers. In its current iteration defmt mainly targets tiny embedded devices that have no means to display information to the developer, e.g. a screen. In this scenario, logs need to be transferred to a second machine, usually a PC/laptop, before they can be displayed to the developer/end-user.
Features
- println!-like formatting
- Multiple logging levels: error, info, warn, debug, trace
- Compile-time RUST_LOG-like filtering of logs: include/omit logging levels with module-level granularity
- Documentation available
- Examples available
- Timestamped logs
Categories
LoggingLicense
Apache License V2.0Follow defmt
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of defmt!