Interviewer - Server > Reference > Log, project, and property objects > Log > LogThisEx
 
LogThisEx
An extension to the LogThis method. Writes to the current local log file a log entry with a text indicating the log level.
Syntax
Log.LogThisEx ID, myEntry, Levels
Part
ID
A Long expression, indicating the application or component that wrote the log. For example, Sample Management always uses the same ID (usually 42), and by using a different ID (for example, 1001) in your script, you can identify the log entries that come from your script. IDs less than 1000 are reserved for components.
myEntry
A string to be written to the log file.
Levels
A Long expression that defines the level of the entry. Each log entry can belong to one or more categories. The categories are:
LOGLEVEL_TRACE. Use for debugging.
LOGLEVEL_DEBUG. Use for debugging.
LOGLEVEL_INFO. Use for debugging.
LOGLEVEL_WARNING. Indicates that an error has occurred but that the program can continue.
LOGLEVEL_ERROR. Indicates that a more serious error has occurred but that the program can continue.
LOGLEVEL_FATAL. Indicates an error has occurred and the program cannot continue. You can use logs with this level to alert the administrator to a problem.
See also
Log