private void AppendTrace(string message)
 {
     TraceTextBox.AppendText(message + Environment.NewLine);
     TraceTextBox.ScrollToEnd();
 }
Exemple #2
0
 /// <summary>
 /// Logs the specified message.  Called by the CallbackLogger.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="category">The category.</param>
 public void Log(string message, Category category)
 {
     TraceTextBox.AppendText(string.Format(CultureInfo.CurrentUICulture, "[{0}] {1}\r\n", category, message));
 }