| 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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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