![]() | ScopeContextTimingLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The ScopeContextTimingLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
![]() | ScopeContextTimingLayoutRenderer | Initializes a new instance of the ScopeContextTimingLayoutRenderer class |
Name | Description | |
---|---|---|
![]() | Culture |
Gets or sets the culture used for rendering.
|
![]() | CurrentScope |
Gets or sets whether to only include the duration of the last scope created
|
![]() | Format |
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
|
![]() | StartTime |
Gets or sets whether to just display the scope creation time, and not the duration
|
Name | Description | |
---|---|---|
![]() | Render |
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |