public void BatchStarted(IBatchCompletedQueueItem batchStartedQueueItem) { var information = $"BatchStarted: {batchStartedQueueItem.BatchNumber} [start:{batchStartedQueueItem.Start}, end:{batchStartedQueueItem.End}]"; this.loggingRepository.LogInformation(this.bindingExecution, information); Log.Logger.Debug(information); }
public void BatchCompleted(IBatchCompletedQueueItem batchCompletedQueueItem) { var information = $"BatchCompleted: {batchCompletedQueueItem.BatchNumber} Uploaded Entities: {batchCompletedQueueItem.NumberOfEntitiesUploaded}. [start:{batchCompletedQueueItem.Start}, end:{batchCompletedQueueItem.End}]"; this.loggingRepository.LogInformation(this.bindingExecution, information); Log.Logger.Information(information); }