Protokollierung
It would be nice to be able to use the logging macros from the log
crate. We can do this by implementing the Log
trait.
Speaker Notes
- The first unwrap in
log
will succeed because we initialiseLOGGER
before callingset_logger
. The second will succeed becauseUart::write_str
always returnsOk
.