LoggerMatchFilter LoggerToMatch Property | Apache log4net™ SDK Documentation

The LoggerName that the filter will match

Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public string LoggerToMatch { get; set; }

    Public Property LoggerToMatch As String
    	Get
    	Set

    public:
    property String^ LoggerToMatch {
    	String^ get ();
    	void set (String^ value);
    }

    member LoggerToMatch : string with get, set

#### Property Value

Type: String
Remarks

This filter will attempt to match this value against logger name in the following way. The match will be done against the beginning of the logger name (using StartsWith(string)). The match is case sensitive. If a match is found then the result depends on the value of AcceptOnMatch.

See Also

#### Reference

LoggerMatchFilter Class
log4net.Filter Namespace