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.