# Error Method The Error method adds an error entry to the log file. Syntax
    SiteKiosk.Logfile.Error(msg)
Parameters
msg | String that specifies the error message.
Return Value None. Remarks None. Examples The following example adds an error message to the SiteKiosk log file.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Logfile.Error('An error occurred.');
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top