3 ms·
This is genius. I hadn’t heard of this logging style before. I’m going to try it tomorrow morning.
by nefitty 5y ago
This is genius. I hadn’t heard of this logging style before. I’m going to try it tomorrow morning.
- pjc50 5y agoA variant I developed in an embedded system, which had weirdly defective debugging facilities: define an area of memory which is not cleared on startup. Log into a circular buffer there. On startup, output the contents of the buffer over the serial link (or similar).
- hyperman1 5y agoThere are many variants. One is to put the ringbuffer in a shared memory segment or mmapped file, and use another process to read and print the content.