ILoggingConfigurationSendToRollingFileTraceListener.Filter Method
Specifies the SourceLevels that should be used to filter trace output 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 Filter(
SourceLevels sourceLevel
)
'Declaration
Function Filter (
sourceLevel As SourceLevels
) As ILoggingConfigurationSendToRollingFileTraceListener
ILoggingConfigurationSendToRollingFileTraceListener^ Filter(
SourceLevels sourceLevel
)
Parameters
- sourceLevel
Type: System.Diagnostics.SourceLevels
The SourceLevels that should be used to filter trace output .
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