logError

fun logError(eventName: String, additionalInfo: Map<String, Any>)

Logs a generic error event.

Parameters

eventName

The name of the error event.

additionalInfo

Additional information about the error.


fun logError(eventName: String, exception: AirwallexException, additionalInfo: Map<String, Any>? = null)

Logs an error event with exception details.

Parameters

eventName

The name of the error event.

exception

The exception that occurred.

additionalInfo

Additional information about the error.