 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxprotected virtual void Write(
IList<AsyncLogEventInfo> logEvents
)
Protected Overridable 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