Table of Contents

Class CustomTraceListener

Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners
Assembly
Microsoft.Practices.EnterpriseLibrary.Logging.dll

Base class for custom trace listeners that support formatters.

public abstract class CustomTraceListener : TraceListener, IDisposable
Inheritance
CustomTraceListener
Implements
Inherited Members

Constructors

CustomTraceListener()

Initializes a new instance of the CustomTraceListener class.

protected CustomTraceListener()

Properties

Formatter

Gets or sets the log entry formatter.

public ILogFormatter Formatter { get; set; }

Property Value

ILogFormatter