Open In App

ASP AppendToLog Method

The ASP AppendToLog Method is used for adding a string string to the end of server log entry for this request. This method could be called many times. It is used to appends a string to the end of the entry of the Web server log for this request.

Syntax:



response.AppendToLog string

Parameter Values:

Return Values: This method does not  return any values.



Example: Below code adds adds the text “content updated” to the log file:




<%
  Response.AppendToLog "My log message"
%>

Article Tags :