| 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.2.0+78fee640bcc81f8f578f417ab1504dd9618e7898
Syntax protected override void Write(
IList<AsyncLogEventInfo> logEvents
)
Protected Overrides Sub Write (
logEvents As IList(Of AsyncLogEventInfo)
)
Dim logEvents As IList(Of AsyncLogEventInfo)
Me.Write(logEvents)
abstract Write :
logEvents : IList<AsyncLogEventInfo> -> unit
override Write :
logEvents : IList<AsyncLogEventInfo> -> unit
Parameters
- logEvents
- Type: System.Collections.GenericIListAsyncLogEventInfo
Logging events to be written out.
See Also