startRuntimeLogStream method

Future<Map<String, dynamic>?> startRuntimeLogStream()

Starts native runtime log streaming.

Logs are buffered on the native side and can be polled via getBufferedRuntimeLogs. All entries are pre-redacted by the native SdkLogRedactor before crossing the bridge.

Implementation

Future<Map<String, dynamic>?> startRuntimeLogStream() async {
  try {
    final result = await _channel
        .invokeMapMethod<String, dynamic>('startRuntimeLogStream');
    return result;
  } catch (_) {
    return null;
  }
}