printNativeSessionLogs method

Future<void> printNativeSessionLogs()

Prints logs collected by the native layer. Use it for debugging.

Implementation

Future<void> printNativeSessionLogs() async {
  _throwIfDisposed();
  final logs = await _api.getLogs();
  debugPrint('logs count: ${logs.length}');
  for (final log in logs) {
    debugPrint(log);
  }
}