![]() | ReplaceLayoutRendererWrapper Class |
Namespace: NLog.LayoutRenderers.Wrappers
The ReplaceLayoutRendererWrapper type exposes the following members.
Name | Description | |
---|---|---|
![]() | ReplaceLayoutRendererWrapper | Initializes a new instance of the ReplaceLayoutRendererWrapper class |
Name | Description | |
---|---|---|
![]() | CompileRegex |
Compile the Regex? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
|
![]() | IgnoreCase |
Gets or sets a value indicating whether to ignore case.
|
![]() | Inner |
Gets or sets the wrapped layout.
[DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.) |
![]() | Regex |
Gets or sets a value indicating whether regular expressions should be used.
|
![]() | ReplaceGroupName |
Gets or sets the group name to replace when using regular expressions.
Leave null or empty to replace without using group name.
|
![]() | ReplaceWith |
Gets or sets the replacement string.
|
![]() | SearchFor |
Gets or sets the text to search for.
|
![]() | WholeWords |
Gets or sets a value indicating whether to search for whole words.
|
Name | Description | |
---|---|---|
![]() | Render |
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) |
![]() ![]() | ReplaceNamedGroup | Obsolete.
A match evaluator for Regular Expression based replacing
|
![]() | ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |