SimplyticsDebugCrashlogService class
Error monitoring service for debugging, outputs all events to the system log, if enabled
.
Enabled by default for debug mode (kDebugMode).
- Inheritance
-
- Object
- SimplyticsCrashlogInterface
- SimplyticsDebugCrashlogService
Constructors
- SimplyticsDebugCrashlogService([bool _enabled = kDebugMode])
-
Creates an error monitoring service object for debugging,
outputs all events to the system log, if
enabled
.
Properties
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