Click or drag to resize

WrapperLayoutRendererBuilderBase Class

Note: This API is now obsolete.

Base class for LayoutRenderers which wrapping other LayoutRenderers. This expects the transformation to work on a StringBuilder
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderers.WrappersWrapperLayoutRendererBase
      NLog.LayoutRenderers.WrappersWrapperLayoutRendererBuilderBase

Namespace:  NLog.LayoutRenderers.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
[ObsoleteAttribute("Inherit from WrapperLayoutRendererBase and override RenderInnerAndTransform() instead. Marked obsolete in NLog 5.0")]
public abstract class WrapperLayoutRendererBuilderBase : WrapperLayoutRendererBase

The WrapperLayoutRendererBuilderBase type exposes the following members.

Constructors
  NameDescription
Protected methodWrapperLayoutRendererBuilderBase
Initializes a new instance of the WrapperLayoutRendererBuilderBase class
Top
Properties
  NameDescription
Public propertyInner
Gets or sets the wrapped layout. [DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.)
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.)
Protected propertyValueFormatter
Value formatter
(Inherited from LayoutRenderer.)
Top
Methods
  NameDescription
Protected methodAppend
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
(Inherited from WrapperLayoutRendererBase.)
Protected methodCloseLayoutRenderer
Closes the layout renderer.
(Inherited from LayoutRenderer.)
Protected methodGetCulture
Get the CultureInfo for rendering the messages to a String
(Inherited from LayoutRenderer.)
Protected methodGetFormatProvider
Get the IFormatProvider for rendering the messages to a String
(Inherited from LayoutRenderer.)
Protected methodInitializeLayoutRenderer
Initializes the layout renderer.
(Inherited from WrapperLayoutRendererBase.)
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.)
Protected methodRenderFormattedMessage Obsolete.
Renders the inner layout contents.
Protected methodRenderInner
Renders the inner layout contents.
(Overrides WrapperLayoutRendererBaseRenderInner(LogEventInfo).)
Protected methodRenderInnerAndTransform
Appends the rendered output from Inner-layout and transforms the added output (when necessary)
(Overrides WrapperLayoutRendererBaseRenderInnerAndTransform(LogEventInfo, StringBuilder, Int32).)
Protected methodResolveServiceT
Resolves the interface service-type from the service-repository
(Inherited from LayoutRenderer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LayoutRenderer.)
Protected methodTransform(String)
Transforms the output of another layout.
(Overrides WrapperLayoutRendererBaseTransform(String).)
Protected methodTransform(LogEventInfo, String)
Transforms the output of another layout.
(Inherited from WrapperLayoutRendererBase.)
Protected methodTransformFormattedMesssage(StringBuilder) Obsolete.
Transforms the output of another layout.
Protected methodTransformFormattedMesssage(LogEventInfo, StringBuilder) Obsolete.
Top
See Also