Firebase Crashlytics custom log does not appear in the console

strok_777 picture strok_777 · Feb 6, 2018 · Viewed 16.4k times · Source

I've been testing Firebase Crashlytics and even though the normal crash report works right I can't success trying to generate a custom as it says the documentation.

Crashlytics.log(msg); 

I also would like to know wether setting the user identifier for Crashlytics can be done for any crash (according to the doc I've understood that it's possible) with

void Crashlytics.setUserIdentifier(String identifier); 

and how it would have to be done, because it does neither work to me, I can't see anything on the Firebase crashlytics console.

Thanks in advance!

Answer

hannes ach picture hannes ach · Oct 26, 2019

For a better understanding, when you collect data with

FirebaseCrashlytics.getInstance().log("Test w(text)")
FirebaseCrashlytics.getInstance().log("Test e(text)")

you will get NO new non-fatal crash report in Firebase crashlytics. But follow up by a

FirebaseCrashlytics.getInstance().recordException(RunTimeException("Test e(throwable)"))

it will send this error enter image description here

with this additional log entries within this error

enter image description here