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