예제 #1
0
        private static void LogMessage(ELogMessageType type, string message)
        {
            var logMessage = new LogMessage(message, type);

            foreach (var listener in Instance.mListeners)
            {
                listener.LogMessage(logMessage);
            }
        }
예제 #2
0
 internal LogMessage(string message, ELogMessageType type)
 {
     Message = message;
     Type    = type;
 }
 internal LogMessage(DateTime date, string text, ELogMessageType type)
 {
     mDate = date;
       mText = text;
       mType = type;
 }