func (jobClient) QueryLogsPage( ctx context.Context, jobID uuid.UUID, options ...job.TelemetryQueryOption,) (*workflows.LogPage, error)Query a single page of log records emitted while running a job.
Parameters
Section titled “Parameters”jobID uuid.UUID required The ID of the job to query logs for.
options []job.TelemetryQueryOption Options for querying logs.
Options
Section titled “Options”job.WithCursor(cursor *job.Cursor) Start the query after the cursor returned by a previous page.
job.WithLimit(limit int64) Limit the number of log records returned in this page.
job.WithSortDirection(direction job.SortDirection) Sort logs by time. Use job.Ascending for oldest first or job.Descending for newest first.
Returns
Section titled “Returns”A LogPage with log records and an optional NextCursor for the next page.