Skip to content

PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, TSubmissionEntry>.ClearLogAsync(CancellationToken)

ClearLogAsync(CancellationToken)

virtual
View source
public virtual Task PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, 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.