NLog.LayoutRenderers.Wrappers Namespace |
Class | Description | |
---|---|---|
CachedLayoutRendererWrapper |
Applies caching to another layout output.
| |
FileSystemNormalizeLayoutRendererWrapper |
Filters characters not allowed in the file names by replacing them with safe character.
| |
JsonEncodeLayoutRendererWrapper |
Escapes output of another layout using JSON rules.
| |
LeftLayoutRendererWrapper |
Left part of a text
| |
LowercaseLayoutRendererWrapper |
Converts the result of another layout output to lower case.
| |
NoRawValueLayoutRendererWrapper |
Render the non-raw value of an object.
| |
ObjectPathRendererWrapper |
Render a single property of a object
| |
OnExceptionLayoutRendererWrapper |
Only outputs the inner layout when exception has been defined for log message.
| |
OnHasActivityTraceLayoutRendererWrapper | ||
OnHasPropertiesLayoutRendererWrapper |
Outputs alternative layout when the inner layout produces empty result.
| |
PaddingLayoutRendererWrapper |
Applies padding to another layout output.
| |
ReplaceLayoutRendererWrapper |
Replaces a string in the output of another layout with another string.
| |
ReplaceLayoutRendererWrapperReplacer | Obsolete.
This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
| |
ReplaceNewLinesLayoutRendererWrapper |
Replaces newline characters from the result of another layout renderer with spaces.
| |
RightLayoutRendererWrapper |
Right part of a text
| |
Rot13LayoutRendererWrapper |
Decodes text "encrypted" with ROT-13.
| |
SubstringLayoutRendererWrapper |
Substring the result
| |
TrimWhiteSpaceLayoutRendererWrapper |
Trims the whitespace from the result of another layout renderer.
| |
UppercaseLayoutRendererWrapper |
Converts the result of another layout output to upper case.
| |
UrlEncodeLayoutRendererWrapper |
Encodes the result of another layout output for use with URLs.
| |
WhenEmptyLayoutRendererWrapper |
Outputs alternative layout when the inner layout produces empty result.
| |
WhenLayoutRendererWrapper |
Only outputs the inner layout when the specified condition has been met.
| |
WrapLineLayoutRendererWrapper |
Replaces newline characters from the result of another layout renderer with spaces.
| |
WrapperLayoutRendererBase |
Base class for LayoutRenderers which wrapping other LayoutRenderers.
This has the Inner property (which is default) and can be used to wrap.
| |
WrapperLayoutRendererBuilderBase | Obsolete.
Base class for LayoutRenderers which wrapping other LayoutRenderers.
This expects the transformation to work on a StringBuilder | |
XmlEncodeLayoutRendererWrapper |
Converts the result of another layout output to be XML-compliant.
|
Enumeration | Description | |
---|---|---|
CachedLayoutRendererWrapperClearCacheOption |
A value indicating when the cache is cleared.
| |
PaddingHorizontalAlignment |
Horizontal alignment for padding layout renderers.
|