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