| 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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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