NLog.Layouts.SimpleLayout
Represents a string with embedded placeholders that can render contextual information.
Get the fixed text. Only set when IsFixedText is true
Is the message fixed? (no Layout renderers used)
Gets a collection of LayoutRenderer objects that make up this layout.
Original text before parsing as Layout renderes.
Gets a collection of LayoutRenderer objects that make up this layout.
Gets the level of stack trace information required for rendering.
Gets or sets the layout text that could be parsed.
public SimpleLayout()
Initializes a new instance of the SimpleLayout class.
Initializes a new instance of the SimpleLayout class.
Initializes a new instance of the SimpleLayout class.
Escapes the passed text so that it can
be used literally in all places where
layout is normally expected without being
treated as layout.
Evaluates the specified text by expanding all layout renderers.
Evaluates the specified text by expanding all layout renderers
in new LogEventInfo context.
Implicitly converts the specified string as LayoutRenderer-expression into a SimpleLayout.