forked from NLog/NLog
-
Notifications
You must be signed in to change notification settings - Fork 0
Replace Layout Renderer
Xharze edited this page Sep 29, 2012
·
2 revisions
Replaces a string in the output of another layout with another string.
Supported in .NET, Silverlight, Compact Framework and Mono.
##Configuration Syntax
${replace:searchFor=String:wholeWords=Boolean:replaceWith=String
:ignoreCase=Boolean:regex=Boolean:inner=Layout}
##Parameters ###Search/Replace Options
- searchFor - Text to search for.
- wholeWords - Indicates whether to search for whole words. Boolean
- replaceWith - Replacement string.
- ignoreCase - Indicates whether to ignore case. Boolean
- regex - Indicates whether regular expressions should be used. Boolean
###Transformation Options
- inner - Wrapped layout. Layout