Exemplo n.º 1
0
        public static void Log(string logString, string stackTrace, LogType type)
        {
            switch (type)
            {
            case LogType.Log:
                Debug.Log(logString);
                break;

            case LogType.Warning:
                LogModule.WarningLog(logString);
                break;

            case LogType.Error:
                LogModule.ErrorLog(logString);
                break;
            }
        }
Exemplo n.º 2
0
        public static void Log(string logString, string stackTrace, LogType type)
        {
            if (!PlatformHelper.IsEnableDebugMode())
            {
                return;
            }
            switch (type)
            {
            case LogType.Log:
                LogModule.DebugLog(logString);
                break;

            case LogType.Warning:
                LogModule.WarningLog(logString);
                break;

            case LogType.Error:
                LogModule.ErrorLog(logString);
                break;
            }
        }