Example #1
0
        public void WriteLogLine(string eventText)
        {
            if (this.convertControlChars)
            {
                eventText = ControlChars.ControlCharsReadable(eventText);
            }

            this.logDestination.Dispatcher.BeginInvoke((Action)(() =>
            {
                this.logDestination.AppendText(eventText + "\n");
                this.logDestination.ScrollToEnd();
            }));
        }