fetchRecords method
Fetches log records from the specified capsule.
Implementation
_i2.Stream<_i28.LogRecord> fetchRecords({
String? cloudProjectId,
String? cloudCapsuleId,
DateTime? beforeTime,
DateTime? afterTime,
int? limit,
}) => caller
.callStreamingServerEndpoint<_i2.Stream<_i28.LogRecord>, _i28.LogRecord>(
'logs',
'fetchRecords',
{
'cloudProjectId': cloudProjectId,
'cloudCapsuleId': cloudCapsuleId,
'beforeTime': beforeTime,
'afterTime': afterTime,
'limit': limit,
},
{},
);