Expand description
Logging facade crate that is supposed enable conditional logging macro expansion depending on the chosen feature.
defmt
feature will make the macros to expand todefmt::<log_level>
log
feature will make the macros to expand tolog::<log_level>
- no feature is a noop
Feature should be chosen only in the top level application. All intermediate libraries should use this crate in a featureless fashion.
Macros§
- debug
- Logs data at debug level.
- error
- Logs data at error level.
- info
- Logs data at info level.
- trace
- Logs data at trace level.
- warn
- Logs data at warn level.
Attribute Macros§
- format
- Derive the appropriate “formatting” trait, depending on the feature chosen
on the
l0g
crate.