<PackageReference Include="NLog" Version="6.1.0" />

NLog.LayoutRenderers.Wrappers.WrapperLayoutRendererBuilderBase

Base class for LayoutRenderers which wrapping other LayoutRenderers. This expects the transformation to work on a StringBuilder

protected virtual void RenderFormattedMessage(LogEventInfo logEvent, StringBuilder target)

Renders the inner layout contents.

protected virtual void TransformFormattedMesssage(LogEventInfo logEvent, StringBuilder target)

protected abstract void TransformFormattedMesssage(StringBuilder target)

Transforms the output of another layout.