public LoggingTaskRecord(ProcessHookService logTask)
 {
     this.TokenSource = new CancellationTokenSource();
     this.LogTask     = logTask.ForwardProcessLogs(this.TokenSource.Token);
 }
 public void AddProcess(ProcessHookService service)
 {
     this.processList.Add(service.Name, service);
 }