LogMessage Object



 
The LogMessage object contains information about a logfile entry.


Members Table

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

    Members
    Properties Description
    Facility Description of the device, plugin or component.
    Level Message level.
    LocalTime Creation time.
    SequenceNo Message ID.
    Text Message text.
    Type Message type.
    UtcOffset Difference between current timezone and UTC in minutes.
    UtcTime UTC time.

Remarks
    This object is returned by the Item method. Use the LogMessage object to receive information about a logfile entry.

    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 shows the creation time of the first logfile entry in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Logfile.LastMessages.Item(1).LocalTime);
    </SCRIPT>
    

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

Back to top