Logging is an essential debug facility. How do you use such logging functions in embedded environments? I personally program on ARM Cortex Mx microcontrollers.
I was thinking of a logging framework with a changeable backend for several Interfaces (ITM, UART,...) and customizable levels of logging.
I found A Highly Configurable Logging Framework In C++. Do you know any other projects?
In embedded systems, logging is accomplished in two preferred methods: via debug / serial port and storing into memory.
The idea behind storing into memory is that it can be retrieved later using a JTAG debugger or other facilities. Use Non-Volatile memory for anything that needs to be saved after power-off.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With