LoggingEventProperties Property Apache log4net™ SDK Documentation
Additional event specific properties.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 4.0

public PropertiesDictionary Properties { get; }

Property Value

Type: PropertiesDictionary
Additional event specific properties.

A logger or an appender may attach additional properties to specific events. These properties have a string key and an object value.

This property is for events that have been added directly to this event. The aggregate properties (which include these event properties) can be retrieved using LookupProperty(String) and GetProperties.

Once the properties have been fixed Fix this property returns the combined cached properties. This ensures that updates to this property are always reflected in the underlying storage. When returning the combined properties there may be more keys in the Dictionary than expected.

See Also