LogScriptMessageEx
This method enables the developer to utilize the in-built functionality output messages directly to the core product logs, MMC, or system monitoring notification.
Syntax
LogScriptMessageEx(ByVal Type as CDRMessageType, ByVal Severity as CDRMessageSeverity, ByVal Message as String)
Parameter | Description |
---|---|
Type | Type of the message, such as information, warning, or error.
Possible values |
Severity | Severity code of the message.
This option depicts where the message appears (Log, System Monitoring, or as an email). Possible values |
Message | The message text to display or send. |
Sample Code
You can place the following sample code in any event. When the event triggers, a message is written to the core product log file (H_, D_, V_ or U_ log).
Project.LogScriptMessageEx(CDRTypeInfo, CDRSeverityLogFileOnly, "My message")
[Info] |30| 01:59:33.312 | 3108 | 668184k/1428344k | 514004k/3520792k | 57176k/67252k | 238 | 38/43 | My
message