LogMessage
Logs a message.
The macro log file of SmartAnalyzer supports three log categories: information, warning and error. LogMessage uses the Information category.
Compatibility
Available as of IDEA version 9.0
Syntax
LogMessage(message as String, Optional args)
Parameters
message
The message to log.
args
The optional argument(s) are representing the values which are replacing the "message" placeholders.
Remark
An error is raised if message is null.
Example
Sub Main
'Logging an entry of type "information".
SmartContext.Log.LogMessage "Audit Test Name: " & SmartContext.TestName
'Logging a parameterized entry of type "information".
SmartContext.Log.LogMessage "Audit Test Version: {0}", SmartContext.TestVersion
End Sub