kean / Pulse

Network logger for Apple platforms
https://pulselogger.com
MIT License
6.18k stars 294 forks source link

Added option to use InMemory CoreData for logs #247

Closed z-turk3 closed 4 months ago

z-turk3 commented 4 months ago

• Adds LoggerStore Option to opt-out of the persistent on device storage of the SQL lite database • Can be used in cases where for security reasons user logs must not be stored on the device as they can contain sensitive data like the request token • Adds test to confirm in memory configuration

z-turk3 commented 4 months ago

Hey @kean, I have a specific use case where I can not store the logs on the device data because the client considers this as a security vulnerability. In order to mitigate this, I added the option to use Core Data in memory storage type which won't create the sql lite file on the device.

I hope this change works for you or if you have a different approach for my issue I'm all ears 🙂

kean commented 4 months ago

Nice addition, thank you!