I'm using Firebase Crash Reporting
.
I saw here feature which is called Logs
.
But how to use this?
I've Google Analytics
in my project, and I'm trying to log crashes using FirebaseCrash.log()
exactly in the same method.
public void sendGoogleAnalyticsEvent(String category, String label, String action) {
Map<String, String> build = new HitBuilders.EventBuilder()
.setCategory(category)
.setLabel(label)
.setAction(action)
.build();
tracker.send(build);
FirebaseCrash.log("Category: " + category + " label: " + label + " action: " + action);
}
But I don't see any Logs
in the crash. This guy speak about automatically logged events, I don't see this too.
What is wrong ?
UPDATE: If I select 'Analytics' from the Firebase menu, there everything is shown and works correctly
Make sure you are using the latest version of Firebase Crash Reporting SDK, currently
10.0.1
The log that will appear in Firebase Crash Reporting is imported from Firebase Analytics, so you have to use Firebase Analytics instead. source
For example:
the result is shown in this screenshot below