Added the ability to write print_log to file on disk for Android builds so that we can more easily integrate Tyler's print performance graphing tools into our testing procedure.

This commit is contained in:
Gregory Diaz 2015-12-22 18:18:28 -08:00
parent 7db2c5a6d9
commit a795d49ad2
2 changed files with 21 additions and 0 deletions

View file

@ -32,9 +32,11 @@ using MatterHackers.Agg.UI;
using MatterHackers.Localizations;
using MatterHackers.MatterControl.CustomWidgets;
using MatterHackers.MatterControl.PrinterCommunication;
using MatterHackers.MatterControl.DataStorage;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace MatterHackers.MatterControl
{
@ -116,6 +118,7 @@ namespace MatterHackers.MatterControl
textScrollWidget = new TextScrollWidget(PrinterOutputCache.Instance.PrinterLines);
//outputScrollWidget.Height = 100;
Debug.WriteLine(PrinterOutputCache.Instance.PrinterLines);
textScrollWidget.BackgroundColor = ActiveTheme.Instance.SecondaryBackgroundColor;
textScrollWidget.TextColor = ActiveTheme.Instance.PrimaryTextColor;
textScrollWidget.HAnchor = HAnchor.ParentLeftRight;