Capturing logging

Hi there,

I want to capture all the logs made by Zephyr and printk() calls. I want to forward these logs via USB using our custom application protocol for debugging purposes.

I first looked into using the dummy shell backend, but I don't think it's well-suited for this purpose. On second look, a custom logging backend may solve my issue.

Can you recommend a solution and possibly provide some related code?

Thanks in advance!

- Laci

Related