setLogListener

A function to register the listener invoked when StreamLayer SDK needs to log any message or error.

Parameters

listener

The callback that will run