Click or drag to resize

ImpersonatingTargetWrapperWrite Method (IListAsyncLogEventInfo)

Changes the security context, forwards the call to the WrappedTarget.Write() and switches the context back to original.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog.WindowsIdentity (in NLog.WindowsIdentity.dll) Version: 6.1.4+7dee3b7e87f2f8ba886f04fc5fc54802fc213437
Syntax
protected override void Write(
	IList<AsyncLogEventInfo> logEvents
)

Parameters

logEvents
Type: System.Collections.GenericIListAsyncLogEventInfo
Log events.
See Also