public static void AddLog(string logText) { if (Log != null) { Log.AddLog(logText); } }
public static void StartLog() { if (Log == null) { Log = new FormLog(); Log.FormClosed += Log_FormClosed1; Log.Show(); Log.AddLog("Log started"); } }