ResourceLoggerService
Classnet10.0
A service that provides loggers for resources to write to.
namespace Aspire.Hosting.ApplicationModel;
public class ResourceLoggerService : System.IDisposable{ // ...}IDisposable
12 members
Constructors1
Section titled ConstructorsMethods11
Section titled Methods Clears the log stream's backlog for the resource.
Completes the log stream for the resource.
Completes the log stream for the resource.
Disposes the service and completes all log streams.
IAsyncEnumerable<IReadOnlyList<LogLine>> 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.
IAsyncEnumerable<IReadOnlyList<LogLine>> 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.
Watch for subscribers to the log stream for a resource.
IAsyncEnumerable<IReadOnlyList<LogLine>> Watch for changes to the log stream for a resource.
IAsyncEnumerable<IReadOnlyList<LogLine>> Watch for changes to the log stream for a resource.