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}")); 106if (_currentBatch.Count > 0) 110await WriteMessagesAsync(_currentBatch, _cancellationTokenSource.Token).ConfigureAwait(false); 117_currentBatch.Clear();