private static void AddLogEvent() { if (UnityLogFileUtility.CreateLogFile()) { m_LogCount = 0; Application.logMessageReceived += LogEvent; m_LogStart = true; } }
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++; }
private static void RemoveLogEvent() { if (m_LogStart) { Application.logMessageReceived -= LogEvent; UnityLogFileUtility.CloseLogFile(); m_LogCount = 0; m_LogStart = false; } }
public static void OpenFolder() { UnityLogFileUtility.OpenLogFolder(); }