Click or drag to resize

TargetWrite Method (IListAsyncLogEventInfo)

Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to optimize batch writes.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
protected virtual void Write(
	IList<AsyncLogEventInfo> logEvents
)

Parameters

logEvents
Type: System.Collections.GenericIListAsyncLogEventInfo
Logging events to be written out.
See Also