Java Code Examples for com.google.firebase.crash.FirebaseCrash#logcat()
The following examples show how to use
com.google.firebase.crash.FirebaseCrash#logcat() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Fa.java From justaline-android with Apache License 2.0 | 5 votes |
/** * Send a caught exception to Firebase with an additional logged message */ public void exception(Throwable throwable, String logMessage) { Log.e(TAG, "Exception: " + throwable + " | " + logMessage, throwable); if (BuildConfig.DEBUG) { return; } FirebaseCrash.logcat(Log.WARN, TAG, logMessage); FirebaseCrash.report(throwable); }
Example 2
Source File: FireBaseCrashReport.java From AndroidStarterKit with MIT License | 4 votes |
public void logcat(String tag, String msg) { FirebaseCrash.logcat(Log.INFO, tag, msg); }
Example 3
Source File: RNFirebaseCrashReportModule.java From react-native-firebase-crash-report with ISC License | 4 votes |
@ReactMethod public void logcat(int level, String tag, String message) { FirebaseCrash.logcat(level, tag, message); }