5 references to _currentBatch
Microsoft.Extensions.Logging.AzureAppServices (5)
BatchingLoggerProvider.cs (5)
96
_currentBatch
.Add(message);
103
_currentBatch
.Add(new LogMessage(DateTimeOffset.Now, $"{messagesDropped} message(s) dropped because of queue size limit. Increase the queue size or decrease logging verbosity to avoid this.{Environment.NewLine}"));
106
if (
_currentBatch
.Count > 0)
110
await WriteMessagesAsync(
_currentBatch
, _cancellationTokenSource.Token).ConfigureAwait(false);
117
_currentBatch
.Clear();