예제 #1
0
 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();
         }
     }
 }
예제 #2
0
 public void LogLineHighlight(string text)
 {
     TraceLog.WriteLine(text);
     LogLineColor(text, GetHighlightTextColour());
 }
예제 #3
0
 public void LogLineHighlight(string text)
 {
     TraceLog.WriteLine(text);
     LogLineColor(text, ExtendedControls.Theme.Current.TextBlockHighlightColor);
 }