AzureTableTargetWriteAsyncTask Method

Overload List

WriteAsyncTask(IListLogEventInfo, CancellationToken) Override this to provide async task for writing a batch of logevents.
WriteAsyncTask(LogEventInfo, CancellationToken) Override this to provide async task for writing a single logevent.

Example

Example of how to override this method, and call custom async method
C#
protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
{
   return CustomWriteAsync(logEvent, token);
}

private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
{
    await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
}

See Also