开发者

asp.net web app - writing data to access or error logs?

I'm looking for a quick way to log some data - I seem to remember a way to write to the access log, similar to System.Out.Println() but I can't seem to remember how to do it.

I can't attach a debugger, nor can I add additional information to the web app via Response.Write().

Is there a simple way - a single statement with no configuration changes would be ideal - to writ开发者_JS百科e to either the error or access logs?


This is a quick way...

Debug.Write("my data to read....");

and read it in real time using sysinterlans DebugView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜