SimplyticsDefaultCrashlogService class
The default error monitoring service (used if no other is installed via Simplytics.setup) is just a stub that does nothing.
- Inheritance
-
- Object
- SimplyticsCrashlogInterface
- SimplyticsDefaultCrashlogService
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnabled → bool
-
Whether the error monitoring service collects reports.
If false, no crash reporting data is sent to the service.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
log(
String message) → Future< void> -
Logs a
message
. Typically, this message is sent with the following error report.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordError(
dynamic exception, StackTrace? stackTrace, {dynamic reason, bool fatal = false}) → Future< void> -
Logs an error Exception and a possible
stackTrace
.override -
recordFatalError(
dynamic exception, StackTrace? stackTrace, {dynamic reason}) → Future< void> -
Logs a fatal error Exception and a possible
stackTrace
.inherited -
setCustomKey(
String key, Object value) → Future< void> -
Sets a custom key for the user that usually persists through the apps lifecycle.
override
-
setEnabled(
bool enabled) → Future< void> -
Enables/disables automatic data collection using this service class.
override
-
setUserId(
String id) → Future< void> -
Sets a user
id
to associate with all error reports.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited