Save Log Module output to a file

Hi,

We're running NRF5340 with a 8MB flash attached to it. We would like to save log messages to a file in device memory. We have configured successfully littleFS to work with external flash. I think it should be possible to use a custom backend to store those prints to a file but I wasn't able to find an example of how to implement a custom backend. 

Maybe first question will be if this is possible, if yes please help with some information on how to implement a custom backend for log module.

Kind regards,

Matei

Parents Reply Children
Related