Click or drag to resize

TargetWithContextCaptureScopeContextNested Method

Takes snapshot of nested states from ScopeContext for the LogEventInfo

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
protected virtual IList<Object> CaptureScopeContextNested(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo

Return Value

Type: IListObject
Collection with ScopeContext stack items if any, else null
See Also