private static void LogMessage(ELogMessageType type, string message) { var logMessage = new LogMessage(message, type); foreach (var listener in Instance.mListeners) { listener.LogMessage(logMessage); } }
internal LogMessage(string message, ELogMessageType type) { Message = message; Type = type; }
internal LogMessage(DateTime date, string text, ELogMessageType type) { mDate = date; mText = text; mType = type; }