public void LogGenerated(RCClient client, RCProcess process, string message)
        {
            string key = ProcessLogGeneratorCollection.MakeKey(client, process);

            if (this.dict.ContainsKey(key))
            {
                this.dict[key].LogGenerated(process, message);
            }
            if (this.allProcessLogActive > 0)
            {
                this.AllProcessLog.LogGenerated(process, message);
            }
        }
        public LogGenerator GetGenerator(RCClient client, RCProcess process)
        {
            string key = ProcessLogGeneratorCollection.MakeKey(client, process);

            if (this.dict.ContainsKey(key))
            {
                return(this.dict[key]);
            }
            LogGenerator logGenerator = new LogGenerator(key, process.Description);

            logGenerator.OnOpen  += this.LogOpened;
            logGenerator.OnClose += this.LogClosed;
            return(logGenerator);
        }