private void AddLogEntry(string text, bool showTime = true) { if (showTime) { Frontend.AddLogEntry(DateTime.Now.TimeOfDay + ": " + text + Environment.NewLine); } else { Frontend.AddLogEntry(text + Environment.NewLine); } }