Class LogEnabledFilterData
- Assembly
- Microsoft.Practices.EnterpriseLibrary.Logging.dll
Represents the configuration settings that describe a LogEnabledFilter.
public class LogEnabledFilterData : LogFilterData
- Inheritance
-
LogEnabledFilterData
Constructors
LogEnabledFilterData()
Initialize a new instance of the LogEnabledFilterData class.
public LogEnabledFilterData()
LogEnabledFilterData(bool)
Initialize a new instance of the LogEnabledFilterData class.
public LogEnabledFilterData(bool enabled)
Parameters
enabled
boolTrue if logging should be enabled.
LogEnabledFilterData(string, bool)
Initialize a new named instance of the LogEnabledFilterData class.
public LogEnabledFilterData(string name, bool enabled)
Parameters
Properties
Enabled
Gets or sets the enabled value.
public bool Enabled { get; set; }
Property Value
Methods
BuildFilter()
Builds the ILogFilter object represented by this configuration object.
public override ILogFilter BuildFilter()