What are Trace Listeners?

chinmay.sahoo

New member
  1. It is a class that listens for trace and debug messages from .NET applications.
  2. Display messages to users by writing messages to files.
  3. It can modify messages before displaying them, or even we can filter out the messages
  4. It is common practice to simply log the message with possibly some formatting for easy r adability.
  5. It is derived from the System.Diagnostics.TraceListener base class.
  6. The .NET Framework ships with three trace listeners:
  7. EventLogTraceListener - logging messages to event logs.
  8. DefaultTraceListener - logging messages to standard debug output such as debuggers.
  9. TextWriterTraceListener - logging messages to text files.
 
Back
Top