question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Force FirebaseCrashlytics print logs to console

See original GitHub issue

What 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:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
argzdevcommented, Nov 5, 2021

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.

0reactions
mrichardscommented, Nov 8, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Force FirebaseCrashlytics print logs to console - Stack Overflow
Is it possible to force FirebaseCrashlytics to print the log messages to console prior google buy them (and make shit as always) it...
Read more >
Customize your Firebase Crashlytics crash reports - Google
Crashlytics associates the logs with your crash data and displays them in the Crashlytics page of the Firebase console, under the Logs tab....
Read more >
Effective logging in Production with Firebase Crashlytics
The following configuration prints the logs to the console in the debug version, but in the production versions, it sends the debug logs...
Read more >
Using Firebase Crashlytics - FlutterFire
Enable Firebase Crashlytics in the Firebase console. Enable in the console ... Force disable Crashlytics collection while doing every day development.
Read more >
Logging Ad Response ID with Firebase Crashlytics
In the Crashlytics page of the Firebase console, click Set up Crashlytics. In the screen that appears, click No > Set up a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found