# Logfile Object The Logfile object permits creating log file entries. Members Table The following table lists the members provided by the Logfile object.
Members
Collections | Description
LastMessages | Contains the last logfile messages.
Properties | Description
DebugWindowVisible | If the debug window is visible.
Enabled | If logging is enabled.
FileName | Full path of the current logfile.
Methods | Description
Email | Creates an email entry.
Error | Creates an error entry.
Notification | Creates a notification entry.
Warning | Creates a warning entry.
Write | Writes text to the logfile.
Events | Description
OnMessage | Fires when a log file entry is added.
Remarks This object is available through the main object SiteKiosk. Use the Logfile object to create different types of log file entries. Note that the path of a file using SiteKiosk objects must be allowed in the SiteKiosk configuration (Security -> Access -> URL's With Script Permission) if it is not a browser skin file. Examples The following example adds a notification to the SiteKiosk log file.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Logfile.Notification('This is a log file entry.');
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top