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 classLowercaseLayoutRendererWrapper
Converts the result of another layout output to lower case.
Public classOnExceptionLayoutRendererWrapper
Only outputs the inner layout when exception has been defined for log message.
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
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 classRot13LayoutRendererWrapper
Decodes text "encrypted" with ROT-13.
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 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 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.