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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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