Пример #1
0
        void Log(LogType logType, string format, params object[] argst)
        {
            var text = ILogFile.LogText(logType, moduleName, format, argst);

            if (Application.isEditor)
            {
                LogHandler.unityLogHandler.LogFormat(logType, null, text);
            }
        }
Пример #2
0
 public void LogException(Exception exception)
 {
     if ((ShowLog.Exception & showLog) != 0)
     {
         ILogFile.LogText(LogType.Exception, moduleName, exception.Message);
         if (Application.isEditor)
         {
             LogHandler.unityLogHandler.LogException(exception, null);
         }
     }
 }
Пример #3
0
 public void LogException(Exception exception, UnityEngine.Object context)
 {
     ILogFile.LogText(LogType.Exception, null, exception.Message);
 }
Пример #4
0
 public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
 {
     ILogFile.LogText(logType, null, format, args);
 }