System.Log Method

Writes msg to the logging mechanism. On Mac OS X and Linux, it writes to the system logger, which is typically at /var/logs.

Syntax

*System.Log Level, msg


Parameters

Level

Integer

msg

String


On Windows NT/XP it writes to the Event Logger, which can be viewed by the Event Viewer. On Mac OS 9 and Windows 98, REALbasic creates a log file on the user's desktop.

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