Megosztás a következőn keresztül:


FormattedTextWriterTraceListener.Formatter Property

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.

Gets the ILogFormatter used to format the trace messages.

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

Syntax

'Declaration
PublicPropertyFormatterAs ILogFormatter
public ILogFormatter Formatter { get; set; }
public:
property ILogFormatter^ Formatter {
    ILogFormatter^ get ();
    voidset (ILogFormatter^ value);
}
publicfunction getFormatter () : ILogFormatter
publicfunction setFormatter (value : ILogFormatter)

See Also

FormattedTextWriterTraceListener Class

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.