PropertyFilter Key Property | Apache log4net™ SDK Documentation

The key to lookup in the event properties and then match against.

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

C#
VB
C++
F#
Copy

    public string Key { get; set; }

    Public Property Key As String
    	Get
    	Set

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

    member Key : string with get, set

#### Property Value

Type: String
Remarks

The key name to use to lookup in the properties map of the LoggingEvent. The match will be performed against the value of this property if it exists.

See Also

#### Reference

PropertyFilter Class
log4net.Filter Namespace