public override void Write(string value) { if (value != null) { logline.Value.Append(value); string logval = logline.ToString(); while (logval.Contains("\n")) { string[] lines = logval.Split(new[] { '\n' }, 2); TraceLog.WriteLine(lines[0]); logline.Value.Clear(); logline.Value.Append(lines.Length == 2 ? lines[1] : ""); logval = logline.ToString(); } } }
public void LogLineHighlight(string text) { TraceLog.WriteLine(text); LogLineColor(text, GetHighlightTextColour()); }
public void LogLineHighlight(string text) { TraceLog.WriteLine(text); LogLineColor(text, ExtendedControls.Theme.Current.TextBlockHighlightColor); }