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.2+0aa8a85babd1d0accd72c78d26557909e04224a2
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