Autodesk Mudbox 2013 SDK Documentation > Application-Level Functionality >

# Logging and Debugging Functions

The following functions can be used to log plug-in data, and can be useful as debugging aids. The log can be viewed inside Mudbox in the "log" view, or by reading the mudbox.log file written by the application. On Windows this is located in the /Logs/ sub-folder of your application directory.

- 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 was an OpenGL error, and writes it to the mudbox log.
- Kernel::GLCheckStates() Checks if the OpenGL states are all set to their default values, and writes the result to the Mudbox log.