And, if you will need something fancier than TraceListener, you could
use log4net.

- IgalY 

> -----Original Message-----
> From: Discussion of advanced .NET topics. 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> David L. Penton
> Sent: Wednesday, May 24, 2006 5:32 PM
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] in program switch for piping 
> console output to a file
> 
> Alex,
> 
> Well...in terms of 'technique' in several of my programs I 
> used the Tracing libraries (TraceListener).  I use 
> commandline switches like /trace to enable tracing, 
> /traceoutput:Log/Console/Both (my defaults are normally 
> /trace and Console).
> 
> Perhaps there is a per hit for this, but it seems to work fine for me.
> 
> hth...
> 
>   - dave

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to