SiteKiosk Documentation
One Step Back

Logfile Object




The Logfile object permits creating log file entries.


Members Table

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

    Members
    CollectionsDescription
    LastMessagesContains the last logfile messages.
    PropertiesDescription
    DebugWindowVisibleIf the debug window is visible.
    EnabledIf logging is enabled.
    FileNameFull path of the current logfile.
    MethodsDescription
    EmailCreates an email entry.
    ErrorCreates an error entry.
    NotificationCreates a notification entry.
    WarningCreates a warning entry.
    WriteWrites text to the logfile.
    EventsDescription
    OnMessageFires 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -