Offline logging solution

Does anyone have suggestions for a good library for logging and log aggregation? We want to be able to log to a local file or database (even when the device is offline), then upload those logs to a log aggregation service. We currently use a custom solution to do this, but it seems like a common problem. Our primary target is Android, but a cross platform solution would be even better.

It would be great if this was integrated into AppFlow, but it doesn’t appear to be.

I’m not aware of any popular libraries or plugins folks are using for this. I think the most common would be grabbing a SQLite plugin or using Ionic Enterprise SQLite for use cases that need encryption/extra security.

Then write your logs to that SQLite store while offline