Message Log Functions
Message Log functions let you log messages to the Message Log. For more information about the Message Log feature, see Message Log Overview.
Use the $severity argument to identify the type of messages you want to log. You can log these types of messages:
- debug
- information
- warning
- error
If you do not specify the $severity argument to the MessageLogWrite() function, it logs an information message. A message written to the Message Log contains the timestamp, message severity, and content of the message.
Adds the specified message with the specified severity to the Message Log.
Arguments
$message The message to add.
$severity The severity of the message.
| enum MessageLogSeverity
Debug = 0 Information = 1 Warning = 2 Error = 3 end |
Adds the specified message with MessageLogSeverity.Information to the Message Log.
Arguments
$message The message to add.
Clears the Message Log.



