AzureTableTargetWriteAsyncTask(LogEventInfo, CancellationToken) Method
Override this to provide async task for writing a single logevent.
Example of how to override this method, and call custom async method
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);
}
Namespace: InnerDrive.LoggingAssembly: InnerDrive.Logging (in InnerDrive.Logging.dll) Version: 5.2.9017.0
protected override Task WriteAsyncTask(
LogEventInfo logEvent,
CancellationToken token
)
- logEvent LogEventInfo
- The log event.
- token CancellationToken
-
Task