Search code examples
androidfirebasecrashlyticsfirebase-crash-reportingcrashlytics-android

Where does Crashlytics.log(""); go?


I'm trying to set up my app with firebase+crashlytics for having a better error dashboard.

All the firebase stuff is already working and I'm able to access the features

I tested crashlytics with: Crashlytics.getInstance().crash(); // Force a crash
and i'm able to see the stack trace on my dashboard (inside firebase)

but I'm trying to log non-fatal messages like:
Crashlytics.log("test");

And it doesn't appear anywhere I followed the whole instructions at:
https://firebase.google.com/docs/crashlytics/customize-crash-reports

Still doesn't find any dashboard with the "test" messages

Where does it go? what am I missing?


Solution

  • Crashlytics isn't made for develop logging/debug, it is made to cluster hundreds/thousands of logs from different users at runtime, this may cause delays between the time the log message are recorded and when you will really be able to see them at the dashboard making it unusable for development debug.

    If you want to use Crashlytics to follow the code workflow and debug during development, you will need to use the trick in this answer.

    https://stackoverflow.com/a/69340289/5679560