set Log Listener
A function to register the listener invoked when StreamLayer SDK needs to log any message or error.
Parameters
listener
The callback that will run
A function to register the listener invoked when StreamLayer SDK needs to log any message or error.
The callback that will run