LAUREL BRIDGE

DCF33StyleNLogAdapterDispose Method

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

Namespace:  LaurelBridge.DCFExamples.LoggingDCF33Style
Assembly:  LoggingDCF33Style (in LoggingDCF33Style.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
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