Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Log4JXmlEventLayout

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.

A specialized layout that renders Log4j-compatible XML events. 

Supported in

Configuration Syntax

<targets>
  <target>
    <layout xsi:type="Log4JXmlEventLayout">
    </layout>
  </target>
</targets>
Read more about using the Configuration File.

Remarks

This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer.