multiple cases and changes (whups forgot to commit)

cases  3664, 3663, 3520 (redux)
This commit is contained in:
2018-12-31 20:59:29 +00:00
parent b2ae7575bc
commit 4c8f4e769f
16 changed files with 243 additions and 84 deletions

View File

@@ -169,6 +169,9 @@ namespace AyaNova
private void copyExtendedSupportInfoToClipboardToolStripMenuItem_Click(object sender, EventArgs e)
{
//case 3663
Util.LogFullSupportInfoToFile();
StringBuilder sbInfo = new StringBuilder();
string currentAssemblyDirectoryName = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
//sbInfo.Append("Tech support info\r\n=-=-=-=-=-=-=-=-=-\r\n");
@@ -226,6 +229,19 @@ namespace AyaNova
}
//case 3664 get integration log
sbInfo.Append("\r\n\r\n\r\n");
//The following block allows to read the AyaLog.txt file even though it's locked by the logger
sbInfo.Append("INTEGRATION LOG\r\n=-=-=-=-=-=-=-=-=-\r\n");
IntegrationLogList ill = IntegrationLogList.GetList();
foreach (IntegrationLogList.IntegrationLogListInfo i in ill)
{
sbInfo.AppendLine(i.LogEntry);
}
sbInfo.Append("\r\n\r\n\r\n");