C# log file

  • Thread starter Thread starter danip
  • Start date Start date
D

danip

Hi,
1. Which C# log file library is recommended ?
2. Does it generate an HTML or XML log file ?
Thanks

-- Dani
 
System.Diagnostics.EventLog namespace is the most reliable way to log
events. You can alternatively use various classes in the System.Xml
namespace to log to an XML file. Such class for example; is the
XmlTextWriter.

I am not aware of any HTML log creation class/library available.

Cheers
Simon.
 
danip said:
Hi,
1. Which C# log file library is recommended ?
2. Does it generate an HTML or XML log file ?
Thanks

-- Dani

If it were me, I'd define a structure for an xml log and create my own.
Then, make an XLST (xml stylesheet) for viewing it. It could make for
a very nice looking log.

Scott
 
Back
Top