LAUREL BRIDGE

NLogLogAdapterDispose Method

DICOM Connectivity Framework V3.4
Flush any pending buffered log messages and cleanup logger resources.

Namespace:  LaurelBridge.DCF.Examples.NLogAdapter
Assembly:  ExampleNLogAdapter (in ExampleNLogAdapter.dll) Version: DCF34 r10560 DCF_3_4_10
Syntax

C#
public void Dispose()

Implements

IDisposableDispose
Remarks

NLog hooks up to the AppDomain.CurrentDomain.ProcessExit and AppDomain.CurrentDomain.DomainUpload events, and as such, will automatically shutdown each logger. LogManager.Shutdown currently has a significant expense wrt how long it takes to dispose.
See Also

Reference