Skip to content

Commit 42f704b

Browse files
author
serverpod_cloud
committed
feat: 639b8647f0e4e3ef05afe544326d6174772b13b6
1 parent 953ba94 commit 42f704b

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

ground_control_client/lib/src/protocol/client.dart

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,8 @@ class EndpointLogs extends _i1.EndpointRef {
471471

472472
/// Fetches log records from the specified project.
473473
_i2.Stream<_i17.LogRecord> fetchRecords({
474-
required String cloudProjectId,
474+
String? cloudProjectId,
475+
String? cloudCapsuleId,
475476
DateTime? beforeTime,
476477
DateTime? afterTime,
477478
int? limit,
@@ -482,6 +483,7 @@ class EndpointLogs extends _i1.EndpointRef {
482483
'fetchRecords',
483484
{
484485
'cloudProjectId': cloudProjectId,
486+
'cloudCapsuleId': cloudCapsuleId,
485487
'beforeTime': beforeTime,
486488
'afterTime': afterTime,
487489
'limit': limit,
@@ -493,7 +495,8 @@ class EndpointLogs extends _i1.EndpointRef {
493495
/// Continues until the client unsubscribes, [limit] is reached,
494496
/// or the internal max limit is reached.
495497
_i2.Stream<_i17.LogRecord> tailRecords({
496-
required String cloudProjectId,
498+
String? cloudProjectId,
499+
String? cloudCapsuleId,
497500
int? limit,
498501
}) =>
499502
caller.callStreamingServerEndpoint<_i2.Stream<_i17.LogRecord>,
@@ -502,14 +505,16 @@ class EndpointLogs extends _i1.EndpointRef {
502505
'tailRecords',
503506
{
504507
'cloudProjectId': cloudProjectId,
508+
'cloudCapsuleId': cloudCapsuleId,
505509
'limit': limit,
506510
},
507511
{},
508512
);
509513

510514
/// Fetches the build log records for the specified deploy attempt.
511515
_i2.Stream<_i17.LogRecord> fetchBuildLog({
512-
required String cloudProjectId,
516+
String? cloudProjectId,
517+
String? cloudCapsuleId,
513518
required String attemptId,
514519
int? limit,
515520
}) =>
@@ -519,6 +524,7 @@ class EndpointLogs extends _i1.EndpointRef {
519524
'fetchBuildLog',
520525
{
521526
'cloudProjectId': cloudProjectId,
527+
'cloudCapsuleId': cloudCapsuleId,
522528
'attemptId': attemptId,
523529
'limit': limit,
524530
},

0 commit comments

Comments
 (0)