Meta.TemplateProfiler.ErrorDataHandler C# (CSharp) Method

ErrorDataHandler() private method

private ErrorDataHandler ( object sendingProcess, DataReceivedEventArgs errLine ) : void
sendingProcess object
errLine System.Diagnostics.DataReceivedEventArgs
return void
        private void ErrorDataHandler(object sendingProcess, DataReceivedEventArgs errLine)
        {
            // Write the error text to the file if there is something
            // to write and an error file has been specified.
            if (!String.IsNullOrEmpty(errLine.Data))
            {
                profilePane.OutputStringThreadSafe(errLine.Data);
                profile_output.WriteLine(errLine.Data);
            }
        }