Click or drag to resize

DatabaseTargetWrite 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.Database (in NLog.Database.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
protected override void Write(
	IList<AsyncLogEventInfo> logEvents
)

Parameters

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