Click or drag to resize

LogReceiverWebServiceTargetOnSend Method

Called when log events are being sent (test hook).

Namespace:  NLog.Targets
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.1+bb45a7652322449cc5d22f0e8ecf7e119c124ca2
Syntax
protected virtual bool OnSend(
	NLogEvents events,
	IEnumerable<AsyncLogEventInfo> asyncContinuations
)

Parameters

events
Type: NLog.LogReceiverServiceNLogEvents
The events.
asyncContinuations
Type: System.Collections.GenericIEnumerableAsyncLogEventInfo
The async continuations.

Return Value

Type: Boolean
True if events should be sent, false to stop processing them.
See Also