 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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