WhenLayoutRendererWrapper Class |
Namespace: NLog.LayoutRenderers.Wrappers
The WhenLayoutRendererWrapper type exposes the following members.
Name | Description | |
---|---|---|
WhenLayoutRendererWrapper | Initializes a new instance of the WhenLayoutRendererWrapper class |
Name | Description | |
---|---|---|
Else |
If When is not met, print this layout.
| |
Inner |
Gets or sets the wrapped layout.
[DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.) | |
When |
Gets or sets the condition that must be met for the Inner layout to be printed.
|
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.) |