<PackageReference Include="NLog" Version="6.1.0" />

NLog.LayoutRenderers.ScopeContextNestedStatesLayoutRenderer

Renders the nested states from ScopeContext like a callstack
public int BottomFrames { get; set; }

Gets or sets the number of bottom stack frames to be rendered.

public CultureInfo Culture { get; set; }

Gets or sets the culture used for rendering.

public string Format { get; set; }

Gets or sets how to format each nested state. Ex. like JSON = @

public string Separator { get; set; }

Gets or sets the separator to be used for concatenating nested logical context output.

public int TopFrames { get; set; }

Gets or sets the number of top stack frames to be rendered.