 | TargetPrecalculateVolatileLayouts Method |
Calls the
Precalculate(LogEventInfo) on each volatile layout
used by this target.
This method won't prerender if all layouts in this target are thread-agnostic.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic void PrecalculateVolatileLayouts(
LogEventInfo logEvent
)
Public Sub PrecalculateVolatileLayouts (
logEvent As LogEventInfo
)
Dim instance As Target
Dim logEvent As LogEventInfo
instance.PrecalculateVolatileLayouts(logEvent)
member PrecalculateVolatileLayouts :
logEvent : LogEventInfo -> unit
Parameters
- logEvent
- Type: NLogLogEventInfo
The log event.
See Also