sinch-rtc

# onLogMessage

open fun onLogMessage(level: Int, area: String, message: String, throwable: Throwable?)

Optional method for handling log messages from the Sinch SDK.

#### Parameters

level

The severity level. Same levels as android.util.Log.

area

The underlying functionality reporting the message.

message

The log message.

throwable

Optional exception to log.

open fun onLogMessage(level: Int, area: String, message: String)

### Deprecated

Use onLogMessage(level: Int, area: String, message: String, throwable: Throwable?) instead

#### Replace with

    onLogMessage(level: Int, area: String, message: String, throwable: Throwable?)

Content copied to clipboard

Optional method for handling log messages from the Sinch SDK.

#### Parameters

level

The severity level. Same levels as android.util.Log.

area

The underlying functionality reporting the message.

message

The log message.