Interface ILogEntryProducer<TEntry>
Represents supplier of log entries.
Inherited Members
Namespace: DotNext.IO.Log
Assembly: DotNext.IO.dll
Syntax
public interface ILogEntryProducer<out TEntry> : IAsyncEnumerator<TEntry>, IAsyncDisposable where TEntry : notnull, ILogEntry
Type Parameters
Name | Description |
---|---|
TEntry | The type of the supplied log entries. |
Properties
| Edit this page View SourceLogEntryPayloadAvailableImmediately
The payload of log entries provided by the producer are ready for consumption synchronously.
Declaration
bool LogEntryPayloadAvailableImmediately { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
This flag means that WriteToAsync<TWriter>(TWriter, CancellationToken) is likely to be completed synchronously.
RemainingCount
Gets the remaining count of log entries in this object.
Declaration
long RemainingCount { get; }
Property Value
Type | Description |
---|---|
long | The remaining count of log entries. |