Hi Allan,
From your description, you're wondering where does the output from the
System.Diagnost ics.Debug.
WriteLine go ?
As far as I know, the System.Diagnost ics.Debug has a property called
"Listeners"whic h mantain the collection of listeners that is monitoring the
debug output. By default, there is a default listner "DefaultTraceLi stener"
in the collection. We can define our custom Listeners which derived from
the "TraceListe ner" Abstract class and add their instances into the
Debug.Listeners collection so that we can redirect the Ouput to whatever we
want. For detailed info you may view the following reference in MSDN:
#Debug.Listener s Property
http://msdn.microsoft.com/library/en...DiagnosticsDeb
ugClassListener sTopic.asp?fram e=true
In addition, in ASP.NET, you may also use the "Trace" feature which can
also log many trace info. You can use Trace.Write .. method within code
line to log some infos and which can be view in page level or application
level. For detailed on Trace, here are some reference in MSDN:
#ASP.NET Trace
http://msdn.microsoft.com/library/en...efunctionality
..asp?frame=tru e
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx