SimulationManager.HandleLog C# (CSharp) Method

HandleLog() private static method

private static HandleLog ( string logString, string stackTrace, LogType type ) : void
logString string
stackTrace string
type LogType
return void
    private static void HandleLog(string logString, string stackTrace, LogType type)
    {
        Debug.Log ("Right before Handle Log");
        #if !UNITY_EDITOR
        if (TestLogLevel(logLevel, type))
        {
            string output = string.Format("\n{1}: {0}\n", logString, type);
            System.IO.File.AppendAllText(logFileLocation, output);
            if (TestLogLevel(stackLogLevel, type))
            {
                // Write out stack trace
                System.IO.File.AppendAllText(logFileLocation, "\nSTACK: " + System.Environment.StackTrace + "\n");
            }
        }
        #endif
        Debug.Log ("Right after Handle Log");
    }