//Adds a message to the log public void Log(string message, string associatedCommand = "") { LogDisplay.AppendText(message + "\r\n"); WriteToLogFile(message, associatedCommand); }