Difference between revisions of "System.Log"

From Xojo Documentation

(SMBot: new page by automated transformation)
m (1 revision)
(No difference)

Revision as of 22:59, 11 March 2010


System.Log(Level as Integer, msg as String)

New in 5.5

Supported for all project types and targets.

Writes msg to the logging mechanism.

On Mac OS X and Linux, it writes to the system logger, which is typically at /var/log. On Windows XP it writes to the Event Logger, which can be viewed by the Event Viewer.

Use the LogLevel class constants to set the value of Level. See the section "LogLevel Class Constants" for the list of constants.

On Mac OS X, the following levels do not appear in the log: debug, information, and success. This is an OS X issue.