private void _backgroundService_LogChanged(object sender, LogEventArgs e) { _statusItems.Add(new KeyValuePair <string, string>(DateTime.Now.ToString("HH:mm:ss:fff"), e.Message)); _statusViewModel.SetStatusFlags(_statusItems); }