log4net SDK Reference

LoggingEvent.Properties Property

Additional event specific properties.

[Visual Basic]
Public ReadOnly Property Properties As PropertiesDictionary
[C#]
public log4net.Util.PropertiesDictionary Properties {get;}

Property Value

Additional event specific properties.

Remarks

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 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

LoggingEvent Class | log4net.Core Namespace