Пример #1
0
        public static void DebugLog(LOG_CHANNEL channel, string message)
        {
            string content = CoreLogger.Debug(channel, message);

            if (OnLogReceived != null)
            {
                OnLogReceived(channel, LogType.Log, content);
            }
        }
Пример #2
0
        public static void Error(LOG_CHANNEL channel, string message, UnityEngine.Object context = null)
        {
            string content = CoreLogger.Error(channel, message);

            if (OnLogReceived != null)
            {
                OnLogReceived(channel, LogType.Error, content);
            }
        }