CrashlyticsLoggerManager class
This is the logger manager used to log with Firebase Crashlytics.
This manager is used to log with Firebase Crashlytics. It will only be used if the platform is
supported and if the _crashlyticsEnabled
is true.
To use it with your favorite logger manager, you should use both with the
AbstractMultiLoggerManager
.
To use this manager, you have to add the MixinCrashlyticsConfigs to your implementation of
the AbstractConfigManager
.
Constructors
- CrashlyticsLoggerManager.new({required MixinCrashlyticsConfigs configManagerGetter(), required bool isPlatformSupported})
- Class constructor
Properties
- configManagerGetter → MixinCrashlyticsConfigs Function()
-
This is the getter to get the MixinCrashlyticsConfigs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPlatformSupported → bool
-
This is the flag to know if the current platform is supported, or not. If not, the manager is
initiazed but crashlytics is disabled (like if
_crashlyticsEnabled
is equal to false).final - loggerHelper → LoggerHelper
-
The logger helper to use with the logger manager.
finalinherited
- registerFlutterNonManagedErrors → bool
-
If true, the manager will register a handler for the Flutter and platform non-managed errors.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disposeLifeCycle(
) → Future< void> -
Called when the application is disposing.
inherited
-
forceReportsSending(
) → Future< void> - This method forces the sending of the crashlytics.
-
getExternalLogger(
) → Future< MixinExternalLogger> - This method returns the external logger to use with the logger manager.
-
initAfterViewBuilt(
BuildContext context) → Future< void> -
Called after the first view is built.
inherited
-
initLifeCycle(
) → Future< void> - Called when the application is initializing.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerFlutterNonManagedErrorsProcess(
) → void -
This method registers the Flutter and platform non-managed errors if the
registerFlutterNonManagedErrors
is true.inherited -
setUserIdentifier(
String identifier) → Future< void> - This method sets an user identifier.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateAutoCrashlyticsSent(
{required bool value}) → Future< void> - This method updates the auto crashlytics sent flag.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited