Click or drag to resize

DiagnosticsAddLoggerProvider Method

Adds a ILoggerProvider to the logger factory used by the driver.

Be sure to call this method before initializing the ICluster to ensure that ILoggerFactory API is used as driver logging mechanism instead of Trace.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public static void AddLoggerProvider(
	ILoggerProvider provider
)

Parameters

provider
Type: ILoggerProvider
The logger provider to add to the logger factory
See Also