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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public abstract class LayoutRenderer

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.
Protected propertyValueFormatter
Value formatter
Top
Methods
  NameDescription
Protected methodAppend
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
Protected methodCloseLayoutRenderer
Closes the layout renderer.
Protected methodGetCulture
Get the CultureInfo for rendering the messages to a String
Protected methodGetFormatProvider
Get the IFormatProvider for rendering the messages to a String
Protected methodInitializeLayoutRenderer
Initializes the layout renderer.
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
Protected methodResolveServiceT
Resolves the interface service-type from the service-repository
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.Extensions.LoggingConfigSettingLayoutRenderer
    NLog.LayoutRenderersActivityTraceLayoutRenderer
    NLog.LayoutRenderersAllEventPropertiesLayoutRenderer
    NLog.LayoutRenderersAppDomainLayoutRenderer
    NLog.LayoutRenderersAppSettingLayoutRenderer
    NLog.LayoutRenderersAssemblyVersionLayoutRenderer
    NLog.LayoutRenderersBaseDirLayoutRenderer
    NLog.LayoutRenderersCallSiteFileNameLayoutRenderer
    NLog.LayoutRenderersCallSiteLayoutRenderer
    NLog.LayoutRenderersCallSiteLineNumberLayoutRenderer
    NLog.LayoutRenderersCounterLayoutRenderer
    NLog.LayoutRenderersCurrentDirLayoutRenderer
    NLog.LayoutRenderersDateLayoutRenderer
    NLog.LayoutRenderersDbNullLayoutRenderer
    NLog.LayoutRenderersDirectorySeparatorLayoutRenderer
    NLog.LayoutRenderersEnvironmentLayoutRenderer
    NLog.LayoutRenderersEnvironmentUserLayoutRenderer
    NLog.LayoutRenderersEventPropertiesLayoutRenderer
    NLog.LayoutRenderersExceptionDataLayoutRenderer
    NLog.LayoutRenderersExceptionLayoutRenderer
    NLog.LayoutRenderersFileContentsLayoutRenderer
    NLog.LayoutRenderersFuncLayoutRenderer
    NLog.LayoutRenderersGarbageCollectorInfoLayoutRenderer
    NLog.LayoutRenderersGdcLayoutRenderer
    NLog.LayoutRenderersGuidLayoutRenderer
    NLog.LayoutRenderersHostNameLayoutRenderer
    NLog.LayoutRenderersIdentityLayoutRenderer
    NLog.LayoutRenderersInstallContextLayoutRenderer
    NLog.LayoutRenderersLevelLayoutRenderer
    NLog.LayoutRenderersLiteralLayoutRenderer
    NLog.LayoutRenderersLocalIpAddressLayoutRenderer
    NLog.LayoutRenderersLog4JXmlEventLayoutRenderer
    NLog.LayoutRenderersLoggerNameLayoutRenderer
    NLog.LayoutRenderersLongDateLayoutRenderer
    NLog.LayoutRenderersMachineNameLayoutRenderer
    NLog.LayoutRenderersMdcLayoutRenderer
    NLog.LayoutRenderersMdlcLayoutRenderer
    NLog.LayoutRenderersMessageLayoutRenderer
    NLog.LayoutRenderersNdcLayoutRenderer
    NLog.LayoutRenderersNdlcLayoutRenderer
    NLog.LayoutRenderersNdlcTimingLayoutRenderer
    NLog.LayoutRenderersNewLineLayoutRenderer
    NLog.LayoutRenderersNLogDirLayoutRenderer
    NLog.LayoutRenderersPerformanceCounterLayoutRenderer
    NLog.LayoutRenderersProcessDirLayoutRenderer
    NLog.LayoutRenderersProcessIdLayoutRenderer
    NLog.LayoutRenderersProcessInfoLayoutRenderer
    NLog.LayoutRenderersProcessNameLayoutRenderer
    NLog.LayoutRenderersProcessTimeLayoutRenderer
    NLog.LayoutRenderersRegistryLayoutRenderer
    NLog.LayoutRenderersScopeContextIndentLayoutRenderer
    NLog.LayoutRenderersScopeContextNestedStatesLayoutRenderer
    NLog.LayoutRenderersScopeContextPropertyLayoutRenderer
    NLog.LayoutRenderersScopeContextTimingLayoutRenderer
    NLog.LayoutRenderersSequenceIdLayoutRenderer
    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
    NLog.Web.LayoutRenderersAspNetAppBasePathLayoutRenderer
    NLog.Web.LayoutRenderersAspNetEnvironmentLayoutRenderer
    NLog.Web.LayoutRenderersAspNetLayoutRendererBase
    NLog.Web.LayoutRenderersAspNetWebRootPathLayoutRenderer
    NLog.Web.LayoutRenderersIISInstanceNameLayoutRenderer
    NLog.Windows.FormsRichTextBoxLinkLayoutRenderer