Exception logging tends to be race-y, so now we block and wait for all logs to be written before continuing with the crash.
- Fixes #7619
Added a new logger that persists logs for a longer duration to the user's cache directory. Logs are encrypted. The new logs are sent in addition to the user's logcat output.