Esempio n. 1
0
 private static void AddLogEvent()
 {
     if (UnityLogFileUtility.CreateLogFile())
     {
         m_LogCount = 0;
         Application.logMessageReceived += LogEvent;
         m_LogStart = true;
     }
 }
Esempio n. 2
0
        private static void LogEvent(string mes, string trace, LogType type)
        {
            uint num = m_LogCount;

            LogMessage temp = new LogMessage(num, mes, trace, type);

            UnityLogFileUtility.WriteMessage(LogCSV.CSVTypeString(temp));
            m_LogCount++;
        }
Esempio n. 3
0
 private static void RemoveLogEvent()
 {
     if (m_LogStart)
     {
         Application.logMessageReceived -= LogEvent;
         UnityLogFileUtility.CloseLogFile();
         m_LogCount = 0;
         m_LogStart = false;
     }
 }
Esempio n. 4
0
 public static void OpenFolder()
 {
     UnityLogFileUtility.OpenLogFolder();
 }