${log4jxmlevent} Layout Renderer


XML event description compatible with log4j, Chainsaw and NLogViewer

AssemblyClass.NET Framework.NET CFMono on WindowsMono on Unix
1.01.12.01.02.01.02.01.02.0
NLog.dllNLog.LayoutRenderers.Log4JXmlEventLayoutRenderer

Parameters:

NameTypeDescription
appInfostring
The AppInfo field. By default it's the friendly name of the current AppDomain.
includeCallSiteboolean
Include call site (class and method name) in the information sent over the network.
includeMDCboolean
Include MDC dictionary in the information sent over the network.
includeNDCboolean
Include NDC stack.
includeNLogDataboolean
Include NLog-specific extensions to log4j schema.

Default value is: True.

includeSourceInfoboolean
Include source info (file name and line number) in the information sent over the network.
indentXmlboolean
Whether the XML should use spaces for indentation.
culturestring
The culture name to be used for rendering.
cultureInfoCultureInfo
The CultureInfo to be used for rendering.
fixedLengthboolean
Trim the rendered text to the AbsolutePadding value.

Default value is: False.

lowerCaseboolean
Render an upper-case string.

Default value is: False.

padCharacterChar
The padding character.
paddinginteger
Padding value.
upperCaseboolean
Render an upper-case string.

Default value is: False.


Back to the layout renderer list.