Formatting log files ???

  • Thread starter Thread starter Serge calderara
  • Start date Start date
S

Serge calderara

Dear all,

I am using the Tracing possibility in order to log errors
or user message in a log file.

Depending on the error return, especially for exception,
message can be difficult to find out afterward in the log
file becasue of huge information.

Is there a simple way or claas to use to get a good
formatting of text in a file?

The format I would like is a kind of collumn to get is as
follow :

DateTime Errornumber Message

in case message is too long it should always start from
the Message position
Should I handle tabs in files?


Thanks for your help
Serge
 
try log4net (google search)
it is free, open source and customizable. maybe that may help
 
Back
Top