From Xojo Documentation

Revision as of 19:07, 4 March 2010 by SteffX (talk) (SMBot: new page by automated transformation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.