WhenEmptyLayoutRendererWrapper Class |
Namespace: NLog.LayoutRenderers.Wrappers
The WhenEmptyLayoutRendererWrapper type exposes the following members.
Name | Description | |
---|---|---|
WhenEmptyLayoutRendererWrapper | Initializes a new instance of the WhenEmptyLayoutRendererWrapper class |
Name | Description | |
---|---|---|
Inner |
Gets or sets the wrapped layout.
[DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.) | |
WhenEmpty |
Gets or sets the layout to be rendered when original layout produced empty result.
|
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.) |