Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Trim-whitespace layout renderer

NLog documentation is a Wiki, which allows registered users to edit its content.
If you want to contribute, please create a user account and contact Jarek to get edit access.

Trims the whitespace from the result of another layout renderer. 

Supported in

Configuration Syntax

${trim-whitespace:trimWhiteSpace=Boolean:inner=Layout}

or by using ambient property to modify output of other layout renderer:

${other:trimWhiteSpace=Boolean}
Read more about using the Configuration File.

Parameters