Skip to content

Commit

Permalink
feat(crashlytics): add helper methods for log and setCustomKey
Browse files Browse the repository at this point in the history
  • Loading branch information
acailly authored and mikehardy committed Jul 14, 2021
1 parent 5039759 commit 06d515c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ public static void recordNativeException(Throwable throwable) {
FirebaseCrashlytics.getInstance().recordException(throwable);
}

public static void log(String message) {
FirebaseCrashlytics.getInstance().log(message);
}

public static void setCustomKey(String key, String value) {
FirebaseCrashlytics.getInstance().setCustomKey(key, value);
}

}

1 comment on commit 06d515c

@vercel
Copy link

@vercel vercel bot commented on 06d515c Jul 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.