Skip to content

NinchatSDKLogListener

Pallab edited this page Mar 5, 2021 · 1 revision

Using NinchatSDKLogListener, we can listen to SDK logs. It is useful when you want to collect SDK-related logs, filter, and store/send them to your own log store.

private val logListener: NinchatSDKLogListener = object : NinchatSDKLogListener {
    override fun onLog(message: String?, throwable: Throwable?) {
        Log.d(">>", "$message ${throwable?.message}")
    }
}
Clone this wiki locally