System.Web.HttpResponse.AppendToLog Method

Adds custom log information to the Internet Information Services (IIS) log file.

Syntax

public void AppendToLog (string param)

Parameters

param
The text to add to the log file.

Remarks

To allow for the specified string to be recorded in the log file, you first must enable the URI Query option of the Extended Logging Properties dialog box for the site that you want to log activity for in IIS.

To customize extended logging in IISĀ 6.0, follow these steps:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0