Xojo.System.DebugLog
From Xojo Documentation
Method
Outputs information to the system log.
Notes
This information is displayed in the Messages pane of the Xojo IDE which is displayed by clicking the Messages icon at the bottom of the Xojo workspace window. When running on the iOS Simulator, it is also captured in the Simulator console log, which you can access from its Debug->System Log menu item.