Logging in vs 2005 and .Net 2

  • Thread starter Thread starter Sam B
  • Start date Start date
S

Sam B

What are you using for logging in .Net 2.0?

I can't find a lot of documentation on this.

Log4net, maybe, or Enterprise Library - (but it seems overkill to use the EL
when all I want from it is the logging).

Or is there enough funtionality in the .Net 2.0 framework to do without
log4net or EL?

I'm leaning towards log4net. .Net 2.0 doesn't seem to support rolling flat
files.
 
I just wrote my own... It's really simple to do (rolling log files,
archiving automatically, etc...).
 
We use custom class derived from TraceListener, to log in XML format
Look at TraceListener, you find that u need.
Moreover, look at TraceSwitch class.

By the way, log4ner realy neat tool
What are you using for logging in .Net 2.0?
I can't find a lot of documentation on this.
Log4net, maybe, or Enterprise Library - (but it seems overkill to use the EL
when all I want from it is the logging).
Or is there enough funtionality in the .Net 2.0 framework to do without
log4net or EL?
I'm leaning towards log4net. .Net 2.0 doesn't seem to support rolling flat
files.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top