log4net SDK Reference |

# 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

This type is not safe for multithreaded operations.

#### 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