async void LoggingScenario_StatusChanged(object sender, LoggingScenarioEventArgs e)
 {
     if (e.Type == LoggingScenarioEventType.BusyStatusChanged)
     {
         UpdateControls();
     }
     else if (e.Type == LoggingScenarioEventType.LogFileGenerated)
     {
         await AddLogFileMessageDispatch("LogFileGenerated", e.LogFilePath);
     }
     else if (e.Type == LoggingScenarioEventType.LogFileGeneratedAtSuspend)
     {
         await AddLogFileMessageDispatch("Log file at suspend", e.LogFilePath);
     }
     else if (e.Type == LoggingScenarioEventType.LogFileGeneratedAtDisable)
     {
         await AddLogFileMessageDispatch("Log file at disable", e.LogFilePath);
     }
     else if (e.Type == LoggingScenarioEventType.LoggingEnabledDisabled)
     {
         await AddMessageDispatch(string.Format("Logging has been {0}.", e.Enabled ? "enabled" : "disabled"));
     }
 }
 async void LoggingScenario_StatusChanged(object sender, LoggingScenarioEventArgs e)
 {
     if (e.Type == LoggingScenarioEventType.BusyStatusChanged)
     {
         UpdateControls();
     }
     else if (e.Type == LoggingScenarioEventType.LogFileGenerated)
     {
         await AddLogFileMessageDispatch("LogFileGenerated", e.LogFilePath);
     }
     else if (e.Type == LoggingScenarioEventType.LogFileGeneratedAtSuspend)
     {
         await AddLogFileMessageDispatch("Log file at suspend", e.LogFilePath);
     }
     else if (e.Type == LoggingScenarioEventType.LogFileGeneratedAtDisable)
     {
         await AddLogFileMessageDispatch("Log file at disable",  e.LogFilePath);
     }
     else if (e.Type == LoggingScenarioEventType.LoggingEnabledDisabled)
     {
         await AddMessageDispatch(string.Format("Logging has been {0}.", e.Enabled ? "enabled" : "disabled"));
     }
 }