Click or drag to resize

AsyncTargetWrapperWrite Method (AsyncLogEventInfo)

Adds the log event to asynchronous queue to be processed by the lazy writer thread.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
protected override void Write(
	AsyncLogEventInfo logEvent
)

Parameters

logEvent
Type: NLog.CommonAsyncLogEventInfo
The log event.
Remarks
The PrecalculateVolatileLayouts(LogEventInfo) is called to ensure that the log event can be processed in another thread.
See Also