Click or drag to resize

TargetWithContextGetAllProperties Method (LogEventInfo)

Creates combined dictionary of all configured properties for logEvent

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
protected IDictionary<string, Object> GetAllProperties(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo

Return Value

Type: IDictionaryString, Object
Dictionary with all collected properties for logEvent
See Also