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