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"
%>
|
Last Updated :
07 Aug, 2020
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...