protected override async Task ProcessBatch(IEnumerable <ILogInformation> batch) { //Logging to EventLog using (var repo = new Repository()){ await repo.Log(Map(batch)); } }