andrzej-kaczmarek opened a new pull request #1149: [WIP] sys/log: Add log storage usage tracking and watermarking URL: https://github.com/apache/mynewt-core/pull/1149 This adds two new APIs to log subsystem: - `storage_info` which allows to query log storage for total storage size and currently used storage - `set_watermark` which allows to set watermark on log (by index) and thus mark e.g. last item read `storage_info` works for both CBMEM and FCB `set_watermark` is in progress (including stubs here for discussion) since apparently walking log by index is not implemented so I need to add some more code first...
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
