NLog Logging Library

LayoutRenderer Members

LayoutRenderer overview

Public Instance Properties

AbsolutePadding The absolute value of the Padding property.
Culture The culture name to be used for rendering.
CultureInfo The CultureInfo to be used for rendering.
FixedLength Trim the rendered text to the AbsolutePadding value.
LowerCase Render an upper-case string.
PadCharacter The padding character.
Padding Padding value.
UpperCase Render an upper-case string.

Protected Instance Constructors

LayoutRenderer Constructor Creates a new instance of LayoutRenderer

Protected Instance Methods

ApplyPadding Post-processes the rendered message by applying padding, upper- and lower-case conversion.
NeedPadding Determines whether it's necessary to call ApplyPadding.

Protected Internal Instance Methods

Append Renders the specified environmental information and appends it to the specified StringBuilder.
GetEstimatedBufferSize Returns the estimated number of characters that are needed to hold the rendered value for the specified logging event.
IsAppDomainFixed Determines whether the value produced by the layout renderer is fixed per current app-domain.
IsVolatile Determines whether the layout renderer is volatile.
NeedsStackTrace Determines whether stack trace information should be gathered during log event processing. By default it calls NeedsStackTrace on CompiledLayout.

See Also

LayoutRenderer Class | NLog Namespace