Click or drag to resize

ScopeContextNestedStatesLayoutRenderer Class

Renders the nested states from ScopeContext like a callstack
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderersScopeContextNestedStatesLayoutRenderer

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public sealed class ScopeContextNestedStatesLayoutRenderer : LayoutRenderer

The ScopeContextNestedStatesLayoutRenderer type exposes the following members.

Constructors
  NameDescription
Public methodScopeContextNestedStatesLayoutRenderer
Initializes a new instance of the ScopeContextNestedStatesLayoutRenderer class
Top
Properties
  NameDescription
Public propertyBottomFrames
Gets or sets the number of bottom stack frames to be rendered.
Public propertyCulture
Gets or sets the culture used for rendering.
Public propertyFormat
Gets or sets how to format each nested state. Ex. like JSON = @
Public propertySeparator
Gets or sets the separator to be used for concatenating nested logical context output.
Public propertyTopFrames
Gets or sets the number of top stack frames to be rendered.
Top
Methods
  NameDescription
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LayoutRenderer.)
Top
Remarks
See Also