onLogReport method
@detail callback
@author chenweiming.push
@brief Callback this event when logging is reported.
@param logType
Log type.
@param logContent
Log content.
Implementation
FutureOr<void> onLogReport(dynamic logType, dynamic logContent) async {
if ($instance == null || $instance is! IRTCEngineEventHandler) {
return;
}
return ($instance as IRTCEngineEventHandler)
.onLogReport
?.call(logType.toString(), logContent);
}