error method
Future<void>
error(
- String type,
- String message, {
- int? entityId,
- dynamic exception,
- StackTrace? stackTrace,
- Map? debugData,
Implementation
Future<void> error(String type, String message, {int? entityId, exception, StackTrace? stackTrace, Map? debugData}) async {
await _logError(message, exception: exception, stackTrace: stackTrace, debug: debugData);
await _addLogRow(type, 'error', message, entityId);
}