log

fun log(message: String, exception: Throwable? = null)

Log a message using the SDK's logger. This allows applications to use the same logging infrastructure configured for the SDK.

Parameters

message

The message to log

exception

Optional exception to log with the message