Click or drag to resize

Log4JXmlEventLayoutRenderer Properties

The Log4JXmlEventLayoutRenderer type exposes the following members.

Properties
  NameDescription
Public propertyAppInfo
Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
Public propertyFormattedMessage
Gets or sets the log4j:event message-xml-element. Default: ${message}
Public propertyIncludeCallSite
Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
Public propertyIncludeEventProperties
Gets or sets the option to include all properties from the log events
Public propertyIncludeNdc
Gets or sets whether to include log4j:NDC in output from ScopeContext nested context.
Public propertyIncludeNLogData
Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
Public propertyIncludeScopeNested
Gets or sets whether to include log4j:NDC in output from ScopeContext nested context.
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
Public propertyIncludeSourceInfo
Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
Public propertyIndentXml
Gets or sets a value indicating whether the XML should use spaces for indentation.
Public propertyLoggerName
Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.)
Public propertyNdcItemSeparator
Gets or sets the stack separator for log4j:NDC in output from ScopeContext nested context.
Public propertyScopeNestedSeparator
Gets or sets the stack separator for log4j:NDC in output from ScopeContext nested context.
Protected propertyValueFormatter
Value formatter
(Inherited from LayoutRenderer.)
Public propertyWriteThrowableCData
Gets or sets whether the log4j:throwable xml-element should be written as CDATA
Top
See Also