When a crash occurs, how can I upload a log file?

1.8k Views Asked by At

The ability to upload a log file immediately after an exception has proven crucial in the past for quickly debugging problems in complex systems. Does fabric's crashlytics allow this?

2

There are 2 best solutions below

4
On

Absolutely. You can use logging methods to log information: https://docs.fabric.io/android/crashlytics/enhanced-reports.html#custom-logging. The logs will be associated with the crash and uploaded on the next launch after the crash.

0
On

Fabric doesn't send a crash right away after a crash. Only when the app is relaunched does a crash get sent.