Partager via


FlatFileTraceListener Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

A TraceListener that writes to a flat file, formatting the output with an ILogFormatter.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(FlatFileTraceListenerData))> _
PublicClassFlatFileTraceListener _
    Inherits FormattedTextWriterTraceListener
[ConfigurationElementTypeAttribute(typeof(FlatFileTraceListenerData))]
publicclassFlatFileTraceListener : FormattedTextWriterTraceListener
[ConfigurationElementTypeAttribute(typeof(FlatFileTraceListenerData))]
publicref classFlatFileTraceListener : public FormattedTextWriterTraceListener
publicclass FlatFileTraceListener extends FormattedTextWriterTraceListener

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.Diagnostics.TraceListener
      System.Diagnostics.TextWriterTraceListener
        Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedTextWriterTraceListener
          Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener
            Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener

See Also

FlatFileTraceListener Members

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.