How is the Xith3D profiling and debugging supposed to work?
I thought the following code prints all internal debug messages to a file:
1 2 3
| FileLog fileLog = new FileLog(LogType.DEBUG, "/some/path/test.txt"); LogManager logMgr = new LogManager(); logMgr.registerLog(fileLog); |
This creates an empty file. My test app only displays a cube and two overlays, but there still should be some debugging information. (Or not?)
If I use
1
| view.renderDebug(canvas3D, "/some/path/test2.txt"); |
the debugging stuff gets written to the console instead of the file.
If there are already some code examples for debugging and profiling please point me to them.