package lt.vilnius.tvarkau;

import com.crashlytics.android.Crashlytics;
import com.google.firebase.crash.FirebaseCrash;

public class LogApp {

    public static void logCrash(Throwable throwable) {
        throwable.printStackTrace();
        if (!BuildConfig.DEBUG) {
            FirebaseCrash.report(throwable);
            Crashlytics.logException(throwable);
        }
    }
}

@@ -22,16 +22,42 @@
 arkau;%0A%0A
+import android.util.Log;%0A%0A
 import c
@@ -231,34 +231,64 @@
     
-throwable.printStackTrace(
+Log.e(%22TvarkauVilniu%22, throwable.getMessage(), throwable
 );%0A 

Make error logging pretty