Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggerMatchFilter Class

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

[Visual�Basic]
Public�Class�LoggerMatchFilter
����Inherits�FilterSkeleton
[C#]
public�class�LoggerMatchFilter : FilterSkeleton

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

LoggerMatchFilter Members | log4net.Filter Namespace