コード例 #1
0
ファイル: GameLogger.cs プロジェクト: GeorgeLiuXin/XinWorld
        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
ファイル: GameLogger.cs プロジェクト: GeorgeLiuXin/XinWorld
        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);
            }
        }