firebase / firebase/firebase-android-sdk

Force FirebaseCrashlytics print logs to console

Open
#3,005 7 comments 6 reactions 0 assignees View on GitHub
api: crashlytics type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 23h
Merged PRs (30d)
34

Description

## 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

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by reviewing the FirebaseCrashlytics.log and recordException APIs and how development logging is configured. Done means messages and recorded exceptions are visible in the development console without intentionally crashing the app or waiting for dashboard upload.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.