Click or drag to resize

ScopeContextTimingLayoutRenderer Class

ScopeContext Timing Renderer (Async scope)
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderersScopeContextTimingLayoutRenderer

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

The ScopeContextTimingLayoutRenderer type exposes the following members.

Constructors
  NameDescription
Public methodScopeContextTimingLayoutRenderer
Initializes a new instance of the ScopeContextTimingLayoutRenderer class
Top
Properties
  NameDescription
Public propertyCulture
Gets or sets the culture used for rendering.
Public propertyCurrentScope
Gets or sets whether to only include the duration of the last scope created
Public propertyFormat
Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
Public propertyStartTime
Gets or sets whether to just display the scope creation time, and not the duration
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