setLogListener method
Set callback to be invoked every time a new SDK log event occurs. Returns log string. Invoked every time log event occurs.
Implementation
@override
Stream<String> setLogListener() async* {
yield* logChannel.receiveBroadcastStream().asyncMap<String>((messageInfo) {
return "${messageInfo[0]} [${messageInfo[1]}]";
});
}