Logging and Debugging Functions
The following functions are used to log plug-in data, which is useful for debugging. You can view the log in the log view, or by reading the mudbox.log file written by the application. On Windows, the log file is located in the Users folder. For example, X:\Users\<username>\Documents\Mudbox\<version>-x64\data\Logs\mudbox.log.
- Kernel::Log() – Writes a message to the internal log.
- Kernel::LogMemoryStatus() – Writes the current memory status to the log.
- Kernel::LogMemoryBlocks() – Writes the memory blocks (used by Store) to the log.
- Kernel::GLCheckError() – Checks to see if there is an OpenGL error, and writes it to the log.
- Kernel::GLCheckStates() – Checks if the OpenGL states are all set to their default values, and writes the result to the log.