Sets the regular expression to match
Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
Property Value
Type: StringRemarks
The regular expression pattern that will be matched against the rendered message. If the message matches this pattern then the filter will match. If a match is found then the result depends on the value of AcceptOnMatch.
One of StringToMatch or RegexToMatch must be specified.
See Also