Click or drag to resize

UppercaseLayoutRendererWrapper Class

Converts the result of another layout output to upper case.
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderers.WrappersWrapperLayoutRendererBase
      NLog.LayoutRenderers.WrappersUppercaseLayoutRendererWrapper

Namespace:  NLog.LayoutRenderers.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public sealed class UppercaseLayoutRendererWrapper : WrapperLayoutRendererBase

The UppercaseLayoutRendererWrapper type exposes the following members.

Constructors
  NameDescription
Public methodUppercaseLayoutRendererWrapper
Initializes a new instance of the UppercaseLayoutRendererWrapper class
Top
Properties
  NameDescription
Public propertyCulture
Gets or sets the culture used for rendering.
Public propertyInner
Gets or sets the wrapped layout. [DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.)
Public propertyCode exampleToUpper
Same as Uppercase-property, so it can be used as ambient property.
Public propertyUppercase
Gets or sets a value indicating whether upper case conversion should be applied.
Top
Methods
  NameDescription
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LayoutRenderer.)
Top
Remarks
Examples
${uppercase:${level}} //[DefaultParameter] ${uppercase:Inner=${level}} ${level:uppercase} // [AmbientProperty]
See Also