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