RegexReplaceLayoutRendererWrapper Class |
Namespace: NLog.LayoutRenderers.Wrappers
The RegexReplaceLayoutRendererWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
| RegexReplaceLayoutRendererWrapper | Initializes a new instance of the RegexReplaceLayoutRendererWrapper class |
| Name | Description | |
|---|---|---|
| CompileRegex |
Compile the Regex? This can improve the performance, but at the costs of more memory usage. If , 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.) | |
| 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.) | |
| ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |