Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

MdcFilter Members

MdcFilter overview

Public Instance Constructors

MdcFilter Constructor Initializes a new instance of the MdcFilter class.

Public Instance Properties

AcceptOnMatch (inherited from StringMatchFilter) Accept when matching StringToMatch or RegexToMatch
Key (inherited from PropertyFilter) The key to lookup in the event properties and then match against.
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch (inherited from StringMatchFilter) Sets the regular expression to match
StringToMatch (inherited from StringMatchFilter) Sets the static string to match

Public Instance Methods

ActivateOptions (inherited from StringMatchFilter) Initialize and precompile the Regex if required
Decide (inherited from PropertyFilter) Check if this filter should allow the event to be logged
Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

Protected Instance Fields

m_acceptOnMatch (inherited from StringMatchFilter) Flag to indicate the behavior when we have a match
m_regexToMatch (inherited from StringMatchFilter) A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch (inherited from StringMatchFilter) A string regex to match
m_stringToMatch (inherited from StringMatchFilter) The string to substring match against the message

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

MdcFilter Class | log4net.Filter Namespace