![]() | Log4JXmlEventLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The Log4JXmlEventLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
![]() | Log4JXmlEventLayoutRenderer |
Initializes a new instance of the Log4JXmlEventLayoutRenderer class.
|
Name | Description | |
---|---|---|
![]() | AppInfo |
Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
|
![]() | FormattedMessage |
Gets or sets the log4j:event message-xml-element. Default: ${message}
|
![]() | IncludeCallSite |
Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
|
![]() | IncludeEventProperties |
Gets or sets the option to include all properties from the log events
|
![]() | IncludeNdc |
Gets or sets whether to include log4j:NDC in output from ScopeContext nested context.
|
![]() | IncludeNLogData |
Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
|
![]() | IncludeScopeNested |
Gets or sets whether to include log4j:NDC in output from ScopeContext nested context.
|
![]() | IncludeScopeProperties |
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
|
![]() | IncludeSourceInfo |
Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
|
![]() | IndentXml |
Gets or sets a value indicating whether the XML should use spaces for indentation.
|
![]() | LoggerName |
Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
|
![]() | LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) |
![]() | NdcItemSeparator |
Gets or sets the stack separator for log4j:NDC in output from ScopeContext nested context.
|
![]() | ScopeNestedSeparator |
Gets or sets the stack separator for log4j:NDC in output from ScopeContext nested context.
|
![]() | ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) |
![]() | WriteThrowableCData |
Gets or sets whether the log4j:throwable xml-element should be written as CDATA
|
Name | Description | |
---|---|---|
![]() | Append |
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
(Overrides LayoutRendererAppend(StringBuilder, LogEventInfo).) |
![]() | CloseLayoutRenderer |
Closes the layout renderer.
(Inherited from LayoutRenderer.) |
![]() | GetCulture |
Get the CultureInfo for rendering the messages to a String (Inherited from LayoutRenderer.) |
![]() | GetFormatProvider |
Get the IFormatProvider for rendering the messages to a String (Inherited from LayoutRenderer.) |
![]() | InitializeLayoutRenderer |
Initializes the layout renderer.
(Overrides LayoutRendererInitializeLayoutRenderer.) |
![]() | Render |
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) |
![]() | ResolveServiceT |
Resolves the interface service-type from the service-repository
(Inherited from LayoutRenderer.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |