Skip to content

ILogViewUpdate<TLogEntry>.ClearLogAsync(CancellationToken)

ClearLogAsync(CancellationToken)

virtual
View source
public virtual Task ClearLogAsync(CancellationToken cancellationToken)
Clear the log stream completely. Throws System.NotSupportedException if the log stream does not support clearing.

Parameters

cancellationTokenCancellationToken
A cancellation token to cancel the operation.

Returns

A task that represents the asynchronous clear operation.