The StringMatchFilter type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| StringMatchFilter |
Default constructor
|
Methods
| Name | Description | |
|---|---|---|
| ActivateOptions |
Initialize and precompile the Regex if required
(Overrides FilterSkeleton ActivateOptions .) | |
| Decide |
Check if this filter should allow the event to be logged
(Overrides FilterSkeleton Decide(LoggingEvent).) | |
| (Inherited from | ||
Allows an (Inherited from | ||
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| (Inherited from |
Fields
| Name | Description | |
|---|---|---|
| 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
|
Properties
| Name | Description | |
|---|---|---|
| AcceptOnMatch | ||
| Next |
Property to get and set the next filter
(Inherited from FilterSkeleton.) | |
| RegexToMatch |
Sets the regular expression to match
| |
| StringToMatch |
Sets the static string to match
|
See Also