log method

void log(
  1. String message
)

Logs a custom message to Firebase Crashlytics if enabled.

These logs appear in the "Logs" tab of a crash report and help provide context for what happened leading up to a crash.

Implementation

void log(String message) {
  crashlytics?.log(message);
}