logger property

Future<void> Function(dynamic, StackTrace, {dynamic reason}) logger
read / write

A logger function that is called when an error is notified.

The signature matches that of the recordError() method in the firebase_crashlytics package (although this logger does not have some named parameters existing in recordError()), and thus the FirebaseCrashlytics.recordError can be assigned to the logger as is if you want to leave logging operations to Crashlytics.

Implementation

Future<void> Function(dynamic, StackTrace, {dynamic reason}) logger;