CachedLayoutRendererWrapper Class |
Namespace: NLog.LayoutRenderers.Wrappers
The CachedLayoutRendererWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
| CachedLayoutRendererWrapper | Initializes a new instance of the CachedLayoutRendererWrapper class |
| Name | Description | |
|---|---|---|
| Cached |
Gets or sets a value indicating whether this CachedLayoutRendererWrapper is enabled.
| |
| CachedSeconds |
Gets or sets a value indicating how many seconds the value should stay cached until it expires
| |
| CacheKey |
Gets or sets whether to reset cached value when CacheKey output changes. Example CacheKey could render current day, so the cached-value is reset on day roll.
| |
| ClearCache |
Gets or sets a value indicating when the cache is cleared.
| |
| Inner |
Gets or sets the wrapped layout.
[DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.) |
| 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.) |