Click or drag to resize

MailTargetWrite 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.MailKit
Assembly:  NLog.MailKit (in NLog.MailKit.dll) Version: 6.0.3+7aaac1a1ae687e358c83f79a9831e21a65bfedd5
Syntax
protected override void Write(
	IList<AsyncLogEventInfo> logEvents
)

Parameters

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