帮我解释一下这段代码吧
Public Function query(sql)
'time_start = timer()
Set query = Conn.Execute(sql)
'time_end = timer()
'dim time_str
'time_str = time_end-time_start
'dim str
'str = "["&now()&"][sql]("&time_str&") "&sql
'dim fs,hf
'set fs = CreateObject("Scripting.FileSystemObject")
'set hf = fs.OpenTextFile(server.mappath(webroot&"debug\sql.log"), 8, TRUE)
'hf.Write(str)& vbcrlf
'hf.close
'set hf = nothing
'set fs = nothing
End Function