private void OnLogEntryAddedToRepository(object sender, LogEntryAddedEventArgs e)
 {
     // Uncomment if you want to filter messages 
     //if (e.NewLogEntry.Message.Contains("Twintania"))
     //{
     var viewModel = new LogEntryViewModel(e.NewLogEntry);
     AllLogEntries.Add(viewModel);
     //}
 }
        private void OnLogEntryAddedToRepository(object sender, LogEntryAddedEventArgs e)
        {
            // Uncomment if you want to filter messages
            //if (e.NewLogEntry.Message.Contains("Twintania"))
            //{
            var viewModel = new LogEntryViewModel(e.NewLogEntry);

            AllLogEntries.Add(viewModel);
            //}
        }