Log status message
This procedure allows you to log an event's status message to the project status log without the need for a script.
This procedure is an alternative to using a script like the following:
Sub LogGreenButtonMessage ()
LogStatus CIM_FAILURE,"Green Button","The green button was pressed",1138,9
End Sub
Note: You could also configure this procedure in the object model using
the SetToLogStatusMessage method.
The following values can be set using expressions:
Value | Description |
---|---|
Message | The message to be displayed in the log. |
Procedure | The name of the procedure that will be displayed in the log as the procedure that logged the error. |
Severity | The severity of the error as follows: Where, 0: Warning 1: Success 2: Failure |
Code | The code for the error. |
Reference | The reference for the error. This helps you to differentiate between two errors with the same error code. |