LogWrite

Adds an entry to the simple site log which can be accessed by administrators through the site management console. (Note: check with your hosting provider before using the log.  Recording user traffic may be a violation of the terms of service for some hosting services.)

Prototype

function LogWrite($UserID, $LogType, $Message)

Parameters

  • $UserID - the ID of the user who triggered the event that's being recorded
  • $LogType - a category name under which the message should be filed.  Messages can be filtered by type on the management console view
  • $Message - the text that is to be entered into the the log

Return Values

This function does not return any data.