SourceControl.ProcessReader.ErrorHandler C# (CSharp) 메소드

ErrorHandler() 개인적인 메소드

private ErrorHandler ( object sendingProcess, DataReceivedEventArgs dataReceivedEventArgs ) : void
sendingProcess object
dataReceivedEventArgs System.Diagnostics.DataReceivedEventArgs
리턴 void
        private void ErrorHandler(object sendingProcess,
            DataReceivedEventArgs dataReceivedEventArgs)
        {
            if (dataReceivedEventArgs.Data != null)
            {
                if ((logLevel & LogOptions.ClientUtility) == LogOptions.ClientUtility)
                {
                    System.Console.Error.WriteLine(dataReceivedEventArgs.Data);
                }
                errorStringBuilder.AppendLine(dataReceivedEventArgs.Data);
            }
        }