Logfile Object

The Logfile object permits creating log file entries.

Members Table

    The following table lists the members provided by the Logfile object.

    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.

    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.
    The following example adds a notification to the SiteKiosk log file.

    <SCRIPT TYPE="text/javascript">
    SiteKiosk.Logfile.Notification('This is a log file entry.');

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top