Open In App

ASP AppendToLog Method

Last Updated : 07 Aug, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

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:

  • string: It contains the string value which represents the text which is appends to the log file. It does not contain comma characters.

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"
%>



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads