System.DebugLog

From Xojo Documentation

Revision as of 21:05, 9 December 2020 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

System.DebugLog(msg As String)

Supported for all project types and targets.

Outputs msg to the system debug log.

Notes

On Windows, it logs to the debugger, so programs like DebugView can be used to view the string. On macOS, it logs to the Console. On Linux, it prints the message to StdErr.

You can also view DebugLog output using the Messages panel in Xojo which is displayed by clicking the Messages icon at the bottom of the Xojo workspace window.