public static void Log(string log) { // If there is no Connection, add it to the List if (!DataAnalytics.GetConnectedState()) { LogList.Add(log); } // If there is a Connection, immediately send the log else { LogLoader.SendLog(LogList, log); } }