PaddingLayoutRendererWrapper Class |
Namespace: NLog.LayoutRenderers.Wrappers
The PaddingLayoutRendererWrapper type exposes the following members.
Name | Description | |
---|---|---|
PaddingLayoutRendererWrapper | Initializes a new instance of the PaddingLayoutRendererWrapper class |
Name | Description | |
---|---|---|
AlignmentOnTruncation |
Gets or sets a value indicating whether a value that has
been truncated (when FixedLength is true)
will be left-aligned (characters removed from the right)
or right-aligned (characters removed from the left). The
default is left alignment.
| |
FixedLength |
Gets or sets a value indicating whether to trim the
rendered text to the absolute value of the padding length.
| |
Inner |
Gets or sets the wrapped layout.
[DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.) | |
PadCharacter |
Gets or sets the padding character.
| |
Padding |
Gets or sets the number of characters to pad the output to.
|
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.) |