 | 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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxprotected 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