LoggerMatchFilter ClassApache log4net™ SDK Documentation
Simple filter to match a string in the event's logger name.
Inheritance Hierarchy

OnlineSystem Object
  log4net.Filter FilterSkeleton
    log4net.Filter LoggerMatchFilter

Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public class LoggerMatchFilter : FilterSkeleton
Remarks

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(LoggingEvent) method returns Accept in case the AcceptOnMatch option value is set to true, if it is false then Deny is returned.

See Also