AzureLogRepositoryFindAsync(DateRange, CancellationToken) Method

Finds a list of log entries for a particular DateRange

Definition

Namespace: InnerDrive.Logging
Assembly: InnerDrive.Logging (in InnerDrive.Logging.dll) Version: 5.2.9417.0
C#
public Task<ICollection<AzureLogEntry>> FindAsync(
	DateRange dateRange,
	CancellationToken cancellationToken = default
)

Parameters

dateRange  DateRange
The DateRange
cancellationToken  CancellationToken  (Optional)
A CancellationToken controlling the request lifetime.

Return Value

TaskICollectionAzureLogEntry
A IEnumerableT of AzureLogEntry objects

Remarks

The method will return up to MaximumItemsReturned record. If more records are available in dateRange, the most recent records will be returned. However, if the number of records found exceeds MaximumItemsReturned, the method will be non-deterministic for older records.

See Also