GlobalContextPropertiesRemove Method Apache log4net™ SDK Documentation
Remove a property from the global context

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

public void Remove(
	string key
)

Parameters

key
Type: SystemString
the key for the entry to remove
Remarks

Removing an entry from the global context properties is relatively expensive compared with reading a value.

See Also

Reference