private static void WriteLog(string log, JLogType logType, JLogCategory logCat = JLogCategory.Common) { JLogMessage msg = new JLogMessage { LogType = logType, LogCategory = logCat, LogMessage = log }; JLogThread.AddMessage(msg); }