LAUREL BRIDGE

NLogLogAdapter Constructor

DICOM Connectivity Framework V3.4
Constructor that configures NLog using the input path to the desired nlog configuration xml file.

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

C#
public NLogLogAdapter(
	string cfgFilePath = null,
	IFormatProvider formatProvider = null
)

Parameters

cfgFilePath (Optional)
Type: SystemString
The path of the xml configuration file to use to configure NLog. If the file is null or missing, the already loaded nlog configuration will be used.
formatProvider (Optional)
Type: SystemIFormatProvider
The format provider to use when logging messages to nlog, which if set to null will use CultureInfo.InvariantCulture.
Remarks

The logger is constructed using the type of the calling class.
See Also

Reference