ClearLogAsync(CancellationToken)
virtual
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.
