Lookup a composite property in this event
Namespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
public Object LookupProperty(
string key
)
Public Function LookupProperty (
key As String
) As Object
public:
Object^ LookupProperty(
String^ key
)
member LookupProperty :
key : string -> Object
Parameters
- key
- Type: SystemString
the key for the property to lookup
Return Value
Type:
Objectthe value for the property
This event has composite properties that combine together properties from
several different contexts in the following order:
- this events properties
-
This event has Properties that can be set. These
properties are specific to this event only.
- the thread properties
-
The Properties that are set on the current
thread. These properties are shared by all events logged on this thread.
- the global properties
-
The Properties that are set globally. These
properties are shared by all the threads in the AppDomain.
Reference