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 |
Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s
| |
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.) |