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: 5.3+9ef8e80a2d4d2222f0cae59868deaa715a68a2da
Syntax
protected override void Write(
	IList<AsyncLogEventInfo> logEvents
)

Parameters

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