[This is preliminary documentation and is subject to change.]

Writes the log to the target.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 2.0.1.0

Syntax

C#
public void WriteAsyncLogEvent(
	AsyncLogEventInfo logEvent
)
Visual Basic (Declaration)
Public Sub WriteAsyncLogEvent ( _
	logEvent As AsyncLogEventInfo _
)
Visual Basic (Usage)
Dim instance As Target
Dim logEvent As AsyncLogEventInfo

instance.WriteAsyncLogEvent(logEvent)

Parameters

logEvent
Type: NLog.Common..::.AsyncLogEventInfo
Log event to write.

See Also