Click or drag to resize

LayoutFromLiteral Method

Create a SimpleLayout containing literal value

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static Layout FromLiteral(
	string literalText
)

Parameters

literalText
Type: SystemString

Return Value

Type: Layout
See Also