Custom Logging

Topics: Logging Application Block
Apr 13, 2007 at 2:51 PM
Edited Apr 13, 2007 at 2:56 PM
I am newbie to EL.
Does anyone have tutorials for creating CustomTraceListener
Apr 13, 2007 at 3:05 PM
Edited Apr 13, 2007 at 3:05 PM
Does all this code go into catch block of try catch?

LogEntry logEntry = new LogEntry();
logEntry.EventId = 100;
logEntry.Priority = 2;
logEntry.Message = "Informational message";
logEntry.Categories.Add("Error");

Logger.Write(logEntry);

I am totally lost with logentery.. please help me