Click or drag to resize

TargetWithContextGetScopeContextProperties Method

Returns the captured snapshot of ScopeContext dictionary for the LogEventInfo

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
protected IDictionary<string, Object> GetScopeContextProperties(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo

Return Value

Type: IDictionaryString, Object
Dictionary with ScopeContext properties if any, else null
See Also