ring_log
ring_log copied to clipboard
An on-disk ring buffer for persistent, fixed-sized logs.
On the esp32, unless I am wrong, there is no implementation of the ring_log_arch_deinit() function called inside ring_log_deinit(). You have the declaration of the function in ring_log.h but misses the...
Apologies in advance: This is a question, not an issue. Does this code run on the ESP32? I can see that your code opens files to write to them -...
Might make sense to add a `struct caps_t` to each platform file describing what is possible on that platform?
Right now, you set `LOGS_PARTITION_SIZE` and then ring_log divides up that space among the `logs` equally.
They read/write byte-by-byte and do unnecessary seeks.
If power cuts off in the middle of a write operation, it's conceivable that a file or entry header could be only partially written. We should add a checksum to...