ASP AppendToLog 方法

AppendToLog 方法向服务器日志文件的末端添加字符串。您可在脚本文件中多次调用此方法。当它每次被调用,就会向日志追加指定的字符串。
语法
response.AppendToLog string
参数 | 描述 |
---|---|
string | 必需。向日志文件追加的文本(不能包含任何逗号字符)。 |
实例
<%Response.AppendToLog "My log message"%>

AppendToLog 方法向服务器日志文件的末端添加字符串。您可在脚本文件中多次调用此方法。当它每次被调用,就会向日志追加指定的字符串。
参数 | 描述 |
---|---|
string | 必需。向日志文件追加的文本(不能包含任何逗号字符)。 |
点我分享笔记