getLogHistorySize method

Future<Size> getLogHistorySize(
  1. String isolateId
)

The getLogHistorySize RPC is used to retrieve the current size of the log history buffer.

If the returned Size is zero, then log history is disabled.

Implementation

Future<Size> getLogHistorySize(String isolateId) async {
  // No version check needed, present since v1.0 of the protocol.
  return _callHelper<Size>('getLogHistorySize', args: {
    'isolateId': isolateId,
  });
}