Exemple #1
0
        /// <summary>
        /// Create a file where to output the  logs of assimp import process.
        /// </summary>
        /// <param name="filename">The name of the file wher to write the logs.</param>
        public void SetLogFile(string filename)
        {
            if (!DefaultLogger.isNullLogger())
            {
                DefaultLogger.kill();
            }

            DefaultLogger.create(filename, global::Assimp.Logger.LogSeverity.VERBOSE, aiDefaultLogStream.aiDefaultLogStream_FILE);
        }