sendLog method
Send a log entry with full options
Implementation
Future<LogResponse> sendLog(LogOptions options) async {
try {
print("Sending log with options: ${options.toMap()}");
return await SmartGrowLogsAPI.sendLog(options);
} on PlatformException catch (e) {
print("PlatformException during sendLog: ${e}");
return LogResponse(
success: false,
error: "Failed to send log: ${e.message}",
);
}
}