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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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