ILoggingConfigurationSendToRollingFileTraceListener.FormatWith Method
Specifies the formatter used to format log messages send by this RollingFlatFileTraceListener.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
ILoggingConfigurationSendToRollingFileTraceListener FormatWith(
IFormatterBuilder formatBuilder
)
'Declaration
Function FormatWith (
formatBuilder As IFormatterBuilder
) As ILoggingConfigurationSendToRollingFileTraceListener
ILoggingConfigurationSendToRollingFileTraceListener^ FormatWith(
IFormatterBuilder^ formatBuilder
)
Parameters
- formatBuilder
Type: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent.IFormatterBuilder
The FormatterBuilder used to create an LogFormatter .
Return Value
Type: ILoggingConfigurationSendToRollingFileTraceListener
Fluent interface that can be used to further configure the created RollingFlatFileTraceListenerData.
See Also
ILoggingConfigurationSendToRollingFileTraceListener Interface
ILoggingConfigurationSendToRollingFileTraceListener Members
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData