log

abstract fun log(level: SLRLogListener.Level, msg: String)

Invoke this function when the StreamLayer SDK needs to log a message or error.

Parameters

level

Level of logged message.

msg

Content of logged message. Should start with 'StreamLayer: ' prefix.