error method

Future<void> error(
  1. String type,
  2. String message, {
  3. int? entityId,
  4. dynamic exception,
  5. StackTrace? stackTrace,
  6. 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);
}