| RoundRobinGroupTargetWrite Method (AsyncLogEventInfo) |
Forwards the write to one of the targets from
the
NLog.Targets collection.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected override void Write(
AsyncLogEventInfo logEvent
)
Protected Overrides Sub Write (
logEvent As AsyncLogEventInfo
)
Dim logEvent As AsyncLogEventInfo
Me.Write(logEvent)
abstract Write :
logEvent : AsyncLogEventInfo -> unit
override Write :
logEvent : AsyncLogEventInfo -> unit
Parameters
- logEvent
- Type: NLog.CommonAsyncLogEventInfo
The log event.
Remarks
The writes are routed in a round-robin fashion.
The first log event goes to the first target, the second
one goes to the second target and so on looping to the
first target when there are no more targets available.
In general request N goes to Targets[N % Targets.Count].
See Also