Click or drag to resize
LayoutRenderer Class
Render environmental information related to logging events.
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    More...

Namespace: NLog.LayoutRenderers
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public abstract class LayoutRenderer : IDisposable

The LayoutRenderer type exposes the following members.

Constructors
  NameDescription
Protected methodLayoutRenderer
Initializes a new instance of the LayoutRenderer class
Top
Properties
  NameDescription
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
Top
Methods
  NameDescription
Protected methodAppend
Renders the specified environmental information and appends it to the specified StringBuilder.
Protected methodCloseLayoutRenderer
Closes the layout renderer.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Protected methodInitializeLayoutRenderer
Initializes the layout renderer.
Public methodRender
Renders the the value of layout renderer in the context of the specified log event.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderersAllEventPropertiesLayoutRenderer
    NLog.LayoutRenderersAppDomainLayoutRenderer
    NLog.LayoutRenderersAppSettingLayoutRenderer
    NLog.LayoutRenderersAspApplicationValueLayoutRenderer
    NLog.LayoutRenderersAspRequestValueLayoutRenderer
    NLog.LayoutRenderersAspSessionValueLayoutRenderer
    NLog.LayoutRenderersAssemblyVersionLayoutRenderer
    NLog.LayoutRenderersBaseDirLayoutRenderer
    NLog.LayoutRenderersCallSiteLayoutRenderer
    NLog.LayoutRenderersCallSiteLineNumberLayoutRenderer
    NLog.LayoutRenderersCounterLayoutRenderer
    NLog.LayoutRenderersDateLayoutRenderer
    NLog.LayoutRenderersEnvironmentLayoutRenderer
    NLog.LayoutRenderersEventContextLayoutRenderer
    NLog.LayoutRenderersEventPropertiesLayoutRenderer
    NLog.LayoutRenderersExceptionLayoutRenderer
    NLog.LayoutRenderersFileContentsLayoutRenderer
    NLog.LayoutRenderersGarbageCollectorInfoLayoutRenderer
    NLog.LayoutRenderersGdcLayoutRenderer
    NLog.LayoutRenderersGuidLayoutRenderer
    NLog.LayoutRenderersIdentityLayoutRenderer
    NLog.LayoutRenderersInstallContextLayoutRenderer
    NLog.LayoutRenderersLevelLayoutRenderer
    NLog.LayoutRenderersLiteralLayoutRenderer
    NLog.LayoutRenderersLog4JXmlEventLayoutRenderer
    NLog.LayoutRenderersLoggerNameLayoutRenderer
    NLog.LayoutRenderersLongDateLayoutRenderer
    NLog.LayoutRenderersMachineNameLayoutRenderer
    NLog.LayoutRenderersMdcLayoutRenderer
    NLog.LayoutRenderersMdlcLayoutRenderer
    NLog.LayoutRenderersMessageLayoutRenderer
    NLog.LayoutRenderersNdcLayoutRenderer
    NLog.LayoutRenderersNewLineLayoutRenderer
    NLog.LayoutRenderersNLogDirLayoutRenderer
    NLog.LayoutRenderersPerformanceCounterLayoutRenderer
    NLog.LayoutRenderersProcessIdLayoutRenderer
    NLog.LayoutRenderersProcessInfoLayoutRenderer
    NLog.LayoutRenderersProcessNameLayoutRenderer
    NLog.LayoutRenderersProcessTimeLayoutRenderer
    NLog.LayoutRenderersQueryPerformanceCounterLayoutRenderer
    NLog.LayoutRenderersRegistryLayoutRenderer
    NLog.LayoutRenderersShortDateLayoutRenderer
    NLog.LayoutRenderersSpecialFolderLayoutRenderer
    NLog.LayoutRenderersStackTraceLayoutRenderer
    NLog.LayoutRenderersTempDirLayoutRenderer
    NLog.LayoutRenderersThreadIdLayoutRenderer
    NLog.LayoutRenderersThreadNameLayoutRenderer
    NLog.LayoutRenderersTicksLayoutRenderer
    NLog.LayoutRenderersTimeLayoutRenderer
    NLog.LayoutRenderersTraceActivityIdLayoutRenderer
    NLog.LayoutRenderersVariableLayoutRenderer
    NLog.LayoutRenderersWindowsIdentityLayoutRenderer
    NLog.LayoutRenderers.WrappersWrapperLayoutRendererBase