private void OnDebugMonitorOnOnOutputDebugString(int pid, string text) { var message = new LogMessage(pid, text); CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, message)); }
private bool FilterMessage(LogMessage logMessage) { return IgnoredProcesses.Contains(logMessage.ProcessName); }