Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

StringMatchFilter Members

StringMatchFilter overview

Public Instance Constructors

StringMatchFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch Accept when matching StringToMatch or RegexToMatch
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch Sets the regular expression to match
StringToMatch Sets the static string to match

Public Instance Methods

ActivateOptions Initialize and precompile the Regex if required
Decide 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 Flag to indicate the behavior when we have a match
m_regexToMatch A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch A string regex to match
m_stringToMatch The string to substring match against the message

Protected Instance Methods

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

See Also

StringMatchFilter Class | log4net.Filter Namespace