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
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of defmt!