[This is preliminary documentation and is subject to change.]

Calls the Precalculate(LogEventInfo) on each volatile layout used by this target.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 2.0.1.0

Syntax

C#
public void PrecalculateVolatileLayouts(
	LogEventInfo logEvent
)
Visual Basic (Declaration)
Public Sub PrecalculateVolatileLayouts ( _
	logEvent As LogEventInfo _
)
Visual Basic (Usage)
Dim instance As Target
Dim logEvent As LogEventInfo

instance.PrecalculateVolatileLayouts(logEvent)

Parameters

logEvent
Type: NLog..::.LogEventInfo
The log event.

See Also