Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Json-encode 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.

Escapes output of another layout using JSON rules. 

Supported in

Configuration Syntax

${json-encode:jsonEncode=Boolean:inner=Layout}

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

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

Parameters