fatal method
void
fatal(})
Logs a fatal message
with LogLevel.fatal as debugPrint.
Also tries to send the log with optional error
, stackTrace
and fatal boolean to your
CrashReportsInterface implementation should you have configured one with the
Loglytics.setUp method.
Implementation
void fatal(
String message, {
String? location,
Object? error,
StackTrace? stackTrace,
bool printStack = true,
bool addToCrashReports = true,
bool forceRecordError = false,
String? tag,
}) =>
this.error(
message,
location: location,
error: error,
stackTrace: stackTrace,
fatal: true,
printStack: printStack,
addToCrashReports: addToCrashReports,
forceRecordError: forceRecordError,
tag: tag,
);