Force FirebaseCrashlytics print logs to console
See original GitHub issueWhat feature would you like to see?
I would like messages logged with FirebaseCrashlytics.getInstance().log("message");
and FirebaseCrashlytics.getInstance().recordException(new RuntimeException("exception"));
How would you use it?
The most important objective of loggin (not to say the only) is to identify and debug errors… Crashlytics is the best library I know for that, but in the current state the lib makes unnecessarily difficult to debug in development environment.
but as current state of firebase crashlytics it is impossible to do this in development environment.
Prior to google buy Crashlytics it was possible using the fabric api. But now seems these methods were removed.
The whole problem is, if I’m in the development environment and want to follow the code execution (by watching the log messages) Crashlytics wont show them… I need to intentionally cause an crash, then wait a time for it be uploaded to dashboard them start hunting for the registers among maybe thousands of others…
All other firebase libraries allow us to enable debug features which will print thousands of messages straight to console, but ironically the library made for debug doesn’t allow it…
it is time to rethink this guys
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top GitHub Comments
Hi @bolds07, apologies for the late response. This feature actually do exists. You may check out this link, which shows you how to create customized reports, including logging non-fatal exceptions. With that said, since this already exists, I’ll be closing the case. Thanks.
Hi @bolds07, thanks for the feature request. You are correct that Fabric Crashlytics used to echo calls to
log
to LogCat by default. That behavior was removed due to repeated customer concerns about spamming LogCat. We can see the use of being able to toggle this behavior on or off for debugging purposes, so we’ll consider adding it as a feature in a future release.