Write Method
The Write method writes a text to the logfile.
Syntax
SiteKiosk.Logfile.Write(type, level, facility, text)
|
Parameters
type |
Short value that specifies the type. |
level |
Short value that specifies the level. |
facility |
String that specifies the facility. |
text |
String that specifies the text to write. |
Return Value
Remarks
See the LogMessage object for further information about the parameters.
Examples
The following example writes a text to the SiteKiosk log file.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Logfile.Write(9999, 20, "Custom", "Text to write");
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top