Share via


ResourceLoggerService.GetAllAsync Method

Definition

Overloads

GetAllAsync(IResource)

Get all logs for a resource. This will return all logs that have been written to the log stream for the resource and then complete.

GetAllAsync(String)

Get all logs for a resource. This will return all logs that have been written to the log stream for the resource and then complete.

GetAllAsync(IResource)

Source:
ResourceLoggerService.cs
Source:
ResourceLoggerService.cs

Get all logs for a resource. This will return all logs that have been written to the log stream for the resource and then complete.

public System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.IReadOnlyList<Aspire.Hosting.ApplicationModel.LogLine>> GetAllAsync(Aspire.Hosting.ApplicationModel.IResource resource);
member this.GetAllAsync : Aspire.Hosting.ApplicationModel.IResource -> System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.IReadOnlyList<Aspire.Hosting.ApplicationModel.LogLine>>
Public Function GetAllAsync (resource As IResource) As IAsyncEnumerable(Of IReadOnlyList(Of LogLine))

Parameters

resource
IResource

The resource to get all logs for.

Returns

An async enumerable that returns all logs that have been written to the log stream and then completes.

Applies to

GetAllAsync(String)

Source:
ResourceLoggerService.cs
Source:
ResourceLoggerService.cs

Get all logs for a resource. This will return all logs that have been written to the log stream for the resource and then complete.

public System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.IReadOnlyList<Aspire.Hosting.ApplicationModel.LogLine>> GetAllAsync(string resourceName);
member this.GetAllAsync : string -> System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.IReadOnlyList<Aspire.Hosting.ApplicationModel.LogLine>>
Public Function GetAllAsync (resourceName As String) As IAsyncEnumerable(Of IReadOnlyList(Of LogLine))

Parameters

resourceName
String

The resource name

Returns

An async enumerable that returns all logs that have been written to the log stream and then completes.

Applies to