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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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