Click or drag to resize

NLog.LayoutRenderers.Wrappers Namespace

All layout renderers which wraps other layout renderers
Classes
  ClassDescription
Public classCachedLayoutRendererWrapper
Applies caching to another layout output.
Public classFileSystemNormalizeLayoutRendererWrapper
Filters characters not allowed in the file names by replacing them with safe character.
Public classJsonEncodeLayoutRendererWrapper
Escapes output of another layout using JSON rules.
Public classLeftLayoutRendererWrapper
Left part of a text
Public classLowercaseLayoutRendererWrapper
Converts the result of another layout output to lower case.
Public classNoRawValueLayoutRendererWrapper
Render the non-raw value of an object.
Public classObjectPathRendererWrapper
Render a single property of a object
Public classOnExceptionLayoutRendererWrapper
Only outputs the inner layout when exception has been defined for log message.
Public classOnHasActivityTraceLayoutRendererWrapper
Public classCode exampleOnHasPropertiesLayoutRendererWrapper
Outputs alternative layout when the inner layout produces empty result.
Public classPaddingLayoutRendererWrapper
Applies padding to another layout output.
Public classCode exampleReplaceLayoutRendererWrapper
Replaces a string in the output of another layout with another string.
Public classReplaceLayoutRendererWrapperReplacer Obsolete.
This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
Public classReplaceNewLinesLayoutRendererWrapper
Replaces newline characters from the result of another layout renderer with spaces.
Public classRightLayoutRendererWrapper
Right part of a text
Public classRot13LayoutRendererWrapper
Decodes text "encrypted" with ROT-13.
Public classCode exampleSubstringLayoutRendererWrapper
Substring the result
Public classTrimWhiteSpaceLayoutRendererWrapper
Trims the whitespace from the result of another layout renderer.
Public classCode exampleUppercaseLayoutRendererWrapper
Converts the result of another layout output to upper case.
Public classUrlEncodeLayoutRendererWrapper
Encodes the result of another layout output for use with URLs.
Public classWhenEmptyLayoutRendererWrapper
Outputs alternative layout when the inner layout produces empty result.
Public classWhenLayoutRendererWrapper
Only outputs the inner layout when the specified condition has been met.
Public classWrapLineLayoutRendererWrapper
Replaces newline characters from the result of another layout renderer with spaces.
Public classCode exampleWrapperLayoutRendererBase
Base class for LayoutRenderers which wrapping other LayoutRenderers. This has the Inner property (which is default) and can be used to wrap.
Public classWrapperLayoutRendererBuilderBase Obsolete.
Base class for LayoutRenderers which wrapping other LayoutRenderers. This expects the transformation to work on a StringBuilder
Public classXmlEncodeLayoutRendererWrapper
Converts the result of another layout output to be XML-compliant.
Enumerations
  EnumerationDescription
Public enumerationCachedLayoutRendererWrapperClearCacheOption
A value indicating when the cache is cleared.
Public enumerationPaddingHorizontalAlignment
Horizontal alignment for padding layout renderers.