Simple filter to match a string in the event's logger name.
For a list of all members of this type, see LoggerMatchFilter Members.
System.Object
log4net.Filter.FilterSkeleton
log4net.Filter.LoggerMatchFilter
This type is not safe for multithreaded operations.
The works very similar to the LevelMatchFilter. It admits two options LoggerToMatch and AcceptOnMatch. If the LoggerName of the LoggingEvent starts with the value of the LoggerToMatch option, then the Decide method returns Accept in case the AcceptOnMatch option value is set to true
, if it is false
then Deny is returned.
Namespace: log4net.Filter
Assembly: log4net (in log4net.dll)
LoggerMatchFilter Members | log4net.Filter Namespace