private void AddEntryToLog(LogEntryRepository repository, string application, string message)
 {
     repository.Save(CreateLogEntry(application, message));
 }