Click or drag to resize

AllEventPropertiesLayoutRenderer Class

Log event context data.
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderersAllEventPropertiesLayoutRenderer

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public class AllEventPropertiesLayoutRenderer : LayoutRenderer

The AllEventPropertiesLayoutRenderer type exposes the following members.

Constructors
  NameDescription
Public methodAllEventPropertiesLayoutRenderer
Initializes a new instance of the AllEventPropertiesLayoutRenderer class.
Top
Properties
  NameDescription
Public propertyCulture
Gets or sets the culture used for rendering.
Public propertyExclude
Gets or sets the keys to exclude from the output. If omitted, none are excluded.
Public propertyFixScopeContext
Enables capture of ScopeContext-properties from active thread context
Public propertyFormat
Gets or sets how key/value pairs will be formatted.
Public propertyIncludeEmptyValues
Get or set if empty values should be included. A value is empty when null or in case of a string, null or empty string.
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.)
Public propertySeparator
Gets or sets string that will be used to separate key/value pairs.
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.
(Overrides LayoutRendererAppend(StringBuilder, LogEventInfo).)
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 LayoutRenderer.)
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.)
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.)
Top
Remarks
See Also