private void AddLog(string text) { var formatted = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") + " " + text; if (ClientLog.Count > 400) { ClientLog.RemoveAt(0); } ClientLog.Add(formatted); }
private void AddLog(string text) { var formatted = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") + " " + text; if (ClientLog.Count > 400) { ClientLog.RemoveAt(0); } ClientLog.Add(formatted); }